#EF8DE2#EF8DE2

#EF8DE2 is a light, vivid purple. Relative luminance 0.429; OKLCH L 77.4% C 0.158 H 332.0°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#EF8DE2
RGBrgb(239, 141, 226)
HSLhsl(308, 75%, 75%)
HSVhsv(308, 41%, 94%)
CMYKcmyk(0%, 41%, 5.4%, 6.3%)
CIE-LABlab(71.48, 49.07, -27.44)
CIE-LCHlch(71.48, 56.22, 330.79°)
OKLaboklab(77.4% 0.1395 -0.0743)
OKLCHoklch(77.4% 0.158 332)
XYZxyz(58.8484, 42.8946, 77.1165)
Luminance0.4289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8DE2 #8DEF9A
analogous
#CB8DEF #EF8DE2 #EF8DB1
triadic
#EF8DE2 #E2EF8D #8DE2EF
tetradic
#EF8DE2 #EFCB8D #8DEF9A #8DB1EF
square
#EF8DE2 #EFCB8D #8DEF9A #8DB1EF
split-complementary
#EF8DE2 #B1EF8D #8DEFCB
monochromatic
#E022C7 #E757D4 #EF8DE2 #F7C3F0 #FBE4F8

Accessibility & contrast

On white

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

On black

9.58
#EF8DE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8DE2
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8DE2#FFFFFF#000000##000000
##EF8DE21.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ef8de2;
/* rgb */ color: rgb(239, 141, 226);
/* oklch */ color: oklch(77.4% 0.158 332.0);
Tailwind
colors: {
  custom: {
    50: '#f6b0eb',
    500: '#ef8de2',
    950: '#000000',
  },
}
SCSS
$custom: #ef8de2;
$custom-light: #f6b0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8de2",
  "rgb": {
    "r": 239,
    "g": 141,
    "b": 226
  },
  "hsl": {
    "h": 307.959,
    "s": 75.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77395,
    "c": 0.15807,
    "h": 332
  },
  "luminance": 0.42891
}

Semantic roles & 50–950 ramp

primary
#EF8DE2
secondary
#D8F3DC
accent
#D8290E
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EF8DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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