Violet (CSS)#EE82EE

#EE82EE is a light, vivid purple. Relative luminance 0.403; OKLCH L 76.2% C 0.186 H 327.2°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Violet (CSS) — editorial page

Color values

HEX#EE82EE
RGBrgb(238, 130, 238)
HSLhsl(300, 76%, 72%)
HSVhsv(300, 45%, 93%)
CMYKcmyk(0%, 45.4%, 0%, 6.7%)
CIE-LABlab(69.70, 56.36, -36.81)
CIE-LCHlch(69.70, 67.31, 326.85°)
OKLaboklab(76.19% 0.1565 -0.1008)
OKLCHoklch(76.19% 0.186 327.2)
XYZxyz(58.6741, 40.3185, 85.5640)
Luminance0.4032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EE82EE #82EE82
analogous
#B882EE #EE82EE #EE82B8
triadic
#EE82EE #EEEE82 #82EEEE
tetradic
#EE82EE #EEB882 #82EE82 #82B8EE
square
#EE82EE #EEB882 #82EE82 #82B8EE
split-complementary
#EE82EE #B8EE82 #82EEB8
monochromatic
#D81DD8 #E74CE7 #EE82EE #F5B8F5 #FBE4FB

Accessibility & contrast

On white

2.32
#EE82EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#EE82EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EE82EE
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EE82EE#FFFFFF#000000##000000
##EE82EE1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A1F2
Deuteranopia (green-blind)
#97AFEB
Tritanopia (blue-blind)
#F48DAD
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ee82ee;
/* rgb */ color: rgb(238, 130, 238);
/* oklch */ color: oklch(76.2% 0.186 327.2);
Tailwind
colors: {
  custom: {
    50: '#f6a9f4',
    500: '#ee82ee',
    950: '#000000',
  },
}
SCSS
$custom: #ee82ee;
$custom-light: #f6a9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ee82ee",
  "rgb": {
    "r": 238,
    "g": 130,
    "b": 238
  },
  "hsl": {
    "h": 300,
    "s": 76.056,
    "l": 72.157
  },
  "oklch": {
    "l": 0.7619,
    "c": 0.18613,
    "h": 327.2
  },
  "luminance": 0.40315
}

Semantic roles & 50–950 ramp

primary
#EE82EE
secondary
#D8F3D8
accent
#D80D0D
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EE82EE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#EE82EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva