#EE7DF2#EE7DF2

#EE7DF2 is a light, vivid purple. Relative luminance 0.393; OKLCH L 75.7% C 0.198 H 326.0°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#EE7DF2
RGBrgb(238, 125, 242)
HSLhsl(298, 82%, 72%)
HSVhsv(298, 48%, 95%)
CMYKcmyk(1.7%, 48.3%, 0%, 5.1%)
CIE-LABlab(68.94, 59.49, -40.19)
CIE-LCHlch(68.94, 71.79, 325.96°)
OKLaboklab(75.68% 0.1639 -0.1104)
OKLCHoklch(75.68% 0.198 326)
XYZxyz(58.6193, 39.2582, 88.4771)
Luminance0.3926 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EE7DF2 #81F27D
analogous
#B47DF2 #EE7DF2 #F27DBB
triadic
#EE7DF2 #F2EE7D #7DF2EE
tetradic
#EE7DF2 #F2B47D #81F27D #7DBBF2
square
#EE7DF2 #F2B47D #81F27D #7DBBF2
split-complementary
#EE7DF2 #BBF27D #7DF2B4
monochromatic
#D816DE #E745EC #EE7DF2 #F5B5F8 #FBE3FC

Accessibility & contrast

On white

2.37
#EE7DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#EE7DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EE7DF2
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EE7DF2#FFFFFF#000000##000000
##EE7DF21.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#92ADEE
Tritanopia (blue-blind)
#F38AAD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ee7df2;
/* rgb */ color: rgb(238, 125, 242);
/* oklch */ color: oklch(75.7% 0.198 326.0);
Tailwind
colors: {
  custom: {
    50: '#f6a6f6',
    500: '#ee7df2',
    950: '#000000',
  },
}
SCSS
$custom: #ee7df2;
$custom-light: #f6a6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ee7df2",
  "rgb": {
    "r": 238,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 297.949,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75683,
    "c": 0.19765,
    "h": 326
  },
  "luminance": 0.39255
}

Semantic roles & 50–950 ramp

primary
#EE7DF2
secondary
#D8F4D7
accent
#DE070F
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #EE7DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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