#EF9DF2#EF9DF2

#EF9DF2 is a light, vivid purple. Relative luminance 0.489; OKLCH L 80.5% C 0.146 H 325.6°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#EF9DF2
RGBrgb(239, 157, 242)
HSLhsl(298, 77%, 78%)
HSVhsv(298, 35%, 95%)
CMYKcmyk(1.2%, 35.1%, 0%, 5.1%)
CIE-LABlab(75.38, 43.65, -30.20)
CIE-LCHlch(75.38, 53.08, 325.32°)
OKLaboklab(80.52% 0.1201 -0.0822)
OKLCHoklch(80.52% 0.146 325.6)
XYZxyz(63.6791, 48.8779, 90.0672)
Luminance0.4888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF9DF2 #A0F29D
analogous
#C49DF2 #EF9DF2 #F29DCA
triadic
#EF9DF2 #F2EF9D #9DF2EF
tetradic
#EF9DF2 #F2C49D #A0F29D #9DCAF2
square
#EF9DF2 #F2C49D #A0F29D #9DCAF2
split-complementary
#EF9DF2 #CAF29D #9DF2C4
monochromatic
#DD31E4 #E667EB #EF9DF2 #F8D3F9 #FBE4FB

Accessibility & contrast

On white

1.95
#EF9DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#EF9DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF9DF2
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF9DF2#FFFFFF#000000##000000
##EF9DF21.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B3F5
Deuteranopia (green-blind)
#ABBDEF
Tritanopia (blue-blind)
#F3A5BD
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ef9df2;
/* rgb */ color: rgb(239, 157, 242);
/* oklch */ color: oklch(80.5% 0.146 325.6);
Tailwind
colors: {
  custom: {
    50: '#f5bbf6',
    500: '#ef9df2',
    950: '#000000',
  },
}
SCSS
$custom: #ef9df2;
$custom-light: #f5bbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ef9df2",
  "rgb": {
    "r": 239,
    "g": 157,
    "b": 242
  },
  "hsl": {
    "h": 297.882,
    "s": 76.577,
    "l": 78.235
  },
  "oklch": {
    "l": 0.80522,
    "c": 0.14553,
    "h": 325.6
  },
  "luminance": 0.48875
}

Semantic roles & 50–950 ramp

primary
#EF9DF2
secondary
#D9F3D8
accent
#D90D14
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171217
muted
#858185

Preview Lab

Preview with #EF9DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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