Photo in the color Lavender magenta
Pictured: Lavender magenta
rgb(238, 130, 238)
#EE82EE

Lavender Magenta #EE82EE RGB Color Code

Also known as Violet (Web)

CSS keyword violet.

Lavender Magenta (#EE82EE) is a vivid, light pink. In RGB it is made of 93% red, 51% green and 93% blue (R 238, G 130, B 238). The red channel is the strongest. In HSL it has a hue of 300°, 76% saturation and 72% lightness. Its relative luminance is 0.403, so black text is easier to read on top of it. For print, a rough CMYK match is 0% cyan, 45% magenta, 0% yellow and 7% black. Check it against your printer's ICC profile before you print. It is a cool color. It goes well with warm oranges and reds for contrast. For a calm, matching look, use nearby cool tones.

Open in color picker

Lavender Magenta color codes

#EE82EE in every common color format. Click a value to copy it.

FormatValueNotesCopy
HEX #EE82EE Valid CSS
CSS name violet Valid CSS
RGB rgb(238, 130, 238) Valid CSS
HSL hsl(300, 76%, 72%) Valid CSS
HSV / HSB hsv(300, 45%, 93%) Not a CSS format
HWB hwb(300 51% 7%) Valid CSS
CMYK cmyk(0%, 45%, 0%, 7%) Approximate (no ICC profile)
OKLCH oklch(76.19% 0.1861 327.21) Valid CSS
OKLab oklab(76.19% 0.1565 -0.1008) Valid CSS
CIELAB lab(69.62% 53.29 -36.54) D50, as in CSS
CIELCH lch(69.62% 64.62 325.57) Valid CSS
Display P3 color(display-p3 0.8771 0.5313 0.9109) Valid CSS
XYZ (D65) color(xyz-d65 0.5867 0.4032 0.8558) Valid CSS
Decimal 15631086 Integer (0xRRGGBB)

CMYK here is a rough screen match without an ICC profile. See CMYK and print. Relative luminance: 0.4032. Nearest web-safe color: #FF99FF.

Mix Lavender Magenta with other colors

See what #EE82EE makes with red paint, under a green light, printed with cyan ink and in a digital blend with blue. Click a picture to change the colors and amounts in the color mixer.

Use Lavender Magenta in your code

Ready to paste into CSS, Sass, Tailwind, iOS, Android and Flutter. Click the icon to copy a line.

WhereCodeCopy
CSS variable--lavender-magenta: #EE82EE;
Sass variable$lavender-magenta: #EE82EE;
Tailwind CSS v4@theme { --color-lavender-magenta: #EE82EE; }
Tailwind CSS v3 configcolors: { 'lavender-magenta': '#EE82EE' }
SwiftUIColor(red: 0.933, green: 0.51, blue: 0.933)
UIKitUIColor(red: 0.933, green: 0.51, blue: 0.933, alpha: 1)
Android XML<color name="lavender_magenta">#FFEE82EE</color>
Flutter and Jetpack ComposeColor(0xFFEE82EE)

Accessibility and contrast

Black text works best on #EE82EE (9.06:1, AAA). Here is how #EE82EE does as a text color:

Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
2.32:1 on white
APCA Lc 45
Fails AATry #B54CB6
Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
9.06:1 on black
APCA Lc -57
AAA

Check this color against any background in the contrast checker. WCAG ratios and APCA Lc values measure different things, so one can't stand in for the other. Learn more.

How people with color blindness see Lavender Magenta

#EE82EE next to its complement and its two triadic colors, as seen with each type of color blindness.

  • Normal visionhow most people see it
  • Protanopiano red cones, about 1% of men
  • Deuteranopiano green cones, the most common type
  • Tritanopiano blue cones, very rare
  • Achromatopsiano color at all, very rare

#EE82EE stays easy to tell apart from its complement and triadic colors for the common types of color blindness. Try your own colors in the color blindness simulator.

About the color Lavender Magenta

The CSS color violet under another name

#EE82EE is the code of the CSS keyword violet, which this site also lists as violet (web). The name lavender magenta comes from older versions of the Wikipedia article on lavender. A 2010 version shows it under the heading "Lavender magenta (web color violet)". Newer versions have dropped the section.

Why magenta and not violet

The red and blue values are the same, 238 each, with green at 130. On a screen, equal red and blue is the mark of a magenta tint. Real violet sits past blue at the end of the rainbow and looks much bluer, like electric violet. That is why the old article called the web keyword a light magenta and gave it this second name. Black text works well on it, at 9.06 to 1.

Lavender Magenta in a user interface

A sample app screen with #EE82EE as the main color, on a light and a dark theme.

Light theme

Dark theme

Buttons and bars use #EE82EE as it is. On the light theme, #EE82EE is too hard to read as text (2.32:1), so links, the badge and outline text use #B54CB6 there (4.49:1). Build a full color scheme around it in the UI color preview.

Color harmonies for Lavender Magenta

These schemes turn the hue of #EE82EE around the color wheel. Each swatch links to its own page.

Complementary

Two colors on opposite sides of the wheel. This gives the most contrast.

Open palette

Analogous

Hues that sit next to each other and look good together.

Open palette

Triadic

Three hues spaced evenly around the wheel. Bold, but still balanced.

Open palette

Split complementary

A base color plus the two hues on each side of its opposite. Strong contrast that clashes less.

Open palette

Tetradic (rectangle)

Two pairs of opposite colors. Let one color lead and use the others less.

Open palette

Square

Four hues 90° apart, spread evenly around the wheel.

Open palette

Monochromatic

One hue at different levels of lightness and saturation.

Open palette

Gradients with Lavender Magenta

Four CSS gradients made from #EE82EE. Copy the code, or open one in the gradient generator to change it.

Soft tint

From a pale tint to the full color.

background: linear-gradient(90deg, #FEE7FD, #EE82EE);

Edit in the gradient generator

Deep shade

The color fading into a dark shade.

background: linear-gradient(180deg, #EE82EE, #422042);

Edit in the gradient generator

Analogous

Its two neighbors on the color wheel.

background: linear-gradient(135deg, #B882EE, #EE82EE, #EE82B8);

Edit in the gradient generator

Triadic

A bold blend with a triadic color, through a clean middle.

background: linear-gradient(135deg, #EE82EE, #EFBDC2, #EEEE82);

Edit in the gradient generator

Shades, tints and tones of Lavender Magenta

Shades are darker, tints are lighter and tones are grayer. We make them in OKLCH so the steps look even. Hover a step to see its code, or click it to open it.

Design system scale (50 to 950)

Lavender Magenta sits at step 400. Export the full scale as CSS variables or Tailwind tokens from the picker.

  1. 50
    FFF2FE
  2. 100
    FFE2FE
  3. 200
    FFC4FD
  4. 300
    F49CF4
  5. 400
    EE82EE
  6. 500
    BE55BF
  7. 600
    A039A1
  8. 700
    832585
  9. 800
    68186A
  10. 900
    4D124E
  11. 950
    2D0F2D

Closest RAL, Tailwind and CSS colors

The nearest match to #EE82EE in three color systems that designers and builders use.

ΔE is the distance in OKLab: under 2 is hard to see, over 10 is a clearly different color. Browse all RAL colors, the Tailwind palette or the 148 CSS color names. RAL values on screens are only a guide, so check a real color chart before you order paint.

The named colors that look closest to this one (ΔE in OKLab). Browse all shades of pink or search the color library.