#ED8EE2#ED8EE2

#ED8EE2 is a light, vivid purple. Relative luminance 0.428; OKLCH L 77.3% C 0.155 H 331.2°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#ED8EE2
RGBrgb(237, 142, 226)
HSLhsl(307, 73%, 74%)
HSVhsv(307, 40%, 93%)
CMYKcmyk(0%, 40.1%, 4.6%, 7.1%)
CIE-LABlab(71.45, 47.95, -27.51)
CIE-LCHlch(71.45, 55.29, 330.15°)
OKLaboklab(77.32% 0.1359 -0.0745)
OKLCHoklch(77.32% 0.155 331.2)
XYZxyz(58.3249, 42.8445, 77.1344)
Luminance0.4284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED8EE2 #8EED99
analogous
#C88EED #ED8EE2 #ED8EB3
triadic
#ED8EE2 #E2ED8E #8EE2ED
tetradic
#ED8EE2 #EDC88E #8EED99 #8EB3ED
square
#ED8EE2 #EDC88E #8EED99 #8EB3ED
split-complementary
#ED8EE2 #B3ED8E #8EEDC8
monochromatic
#DC24C7 #E559D4 #ED8EE2 #F5C3F0 #FBE5F8

Accessibility & contrast

On white

2.19
#ED8EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#ED8EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED8EE2
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED8EE2#FFFFFF#000000##000000
##ED8EE21.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA7E5
Deuteranopia (green-blind)
#A4B4DF
Tritanopia (blue-blind)
#F494AE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ed8ee2;
/* rgb */ color: rgb(237, 142, 226);
/* oklch */ color: oklch(77.3% 0.155 331.2);
Tailwind
colors: {
  custom: {
    50: '#f4b1eb',
    500: '#ed8ee2',
    950: '#000000',
  },
}
SCSS
$custom: #ed8ee2;
$custom-light: #f4b1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ed8ee2",
  "rgb": {
    "r": 237,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 306.947,
    "s": 72.519,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77319,
    "c": 0.15496,
    "h": 331.2
  },
  "luminance": 0.42842
}

Semantic roles & 50–950 ramp

primary
#ED8EE2
secondary
#D9F2DC
accent
#D52811
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #ED8EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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