#ED7EE2#ED7EE2

#ED7EE2 is a light, vivid purple. Relative luminance 0.384; OKLCH L 75.0% C 0.181 H 331.0°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#ED7EE2
RGBrgb(237, 126, 226)
HSLhsl(306, 76%, 71%)
HSVhsv(306, 47%, 93%)
CMYKcmyk(0%, 46.8%, 4.6%, 7.1%)
CIE-LABlab(68.33, 55.96, -32.32)
CIE-LCHlch(68.33, 64.62, 329.99°)
OKLaboklab(74.99% 0.1587 -0.088)
OKLCHoklch(74.99% 0.181 331)
XYZxyz(56.1129, 38.4205, 76.3971)
Luminance0.3842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED7EE2 #7EED89
analogous
#C07EED #ED7EE2 #ED7EAA
triadic
#ED7EE2 #E2ED7E #7EE2ED
tetradic
#ED7EE2 #EDC07E #7EED89 #7EAAED
square
#ED7EE2 #EDC07E #7EED89 #7EAAED
split-complementary
#ED7EE2 #AAED7E #7EEDC0
monochromatic
#D31DC1 #E648D6 #ED7EE2 #F4B4EE #FBE4F9

Accessibility & contrast

On white

2.42
#ED7EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#ED7EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED7EE2
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED7EE2#FFFFFF#000000##000000
##ED7EE21.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#799DE5
Deuteranopia (green-blind)
#99ACDF
Tritanopia (blue-blind)
#F586A6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ed7ee2;
/* rgb */ color: rgb(237, 126, 226);
/* oklch */ color: oklch(75.0% 0.181 331.0);
Tailwind
colors: {
  custom: {
    50: '#f5a7eb',
    500: '#ed7ee2',
    950: '#000000',
  },
}
SCSS
$custom: #ed7ee2;
$custom-light: #f5a7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ed7ee2",
  "rgb": {
    "r": 237,
    "g": 126,
    "b": 226
  },
  "hsl": {
    "h": 305.946,
    "s": 75.51,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74987,
    "c": 0.18145,
    "h": 331
  },
  "luminance": 0.38417
}

Semantic roles & 50–950 ramp

primary
#ED7EE2
secondary
#D5F2D8
accent
#D8220E
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #ED7EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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