#EF8CE2#EF8CE2

#EF8CE2 is a light, vivid purple. Relative luminance 0.426; OKLCH L 77.2% C 0.160 H 331.9°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#EF8CE2
RGBrgb(239, 140, 226)
HSLhsl(308, 76%, 74%)
HSVhsv(308, 41%, 94%)
CMYKcmyk(0%, 41.4%, 5.4%, 6.3%)
CIE-LABlab(71.28, 49.58, -27.75)
CIE-LCHlch(71.28, 56.82, 330.76°)
OKLaboklab(77.24% 0.141 -0.0752)
OKLCHoklch(77.24% 0.16 331.9)
XYZxyz(58.7016, 42.6010, 77.0676)
Luminance0.4260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8CE2 #8CEF99
analogous
#CB8CEF #EF8CE2 #EF8CB1
triadic
#EF8CE2 #E2EF8C #8CE2EF
tetradic
#EF8CE2 #EFCB8C #8CEF99 #8CB1EF
square
#EF8CE2 #EFCB8C #8CEF99 #8CB1EF
split-complementary
#EF8CE2 #B1EF8C #8CEFCB
monochromatic
#E021C7 #E856D4 #EF8CE2 #F6C2F0 #FBE4F8

Accessibility & contrast

On white

2.21
#EF8CE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#EF8CE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8CE2
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8CE2#FFFFFF#000000##000000
##EF8CE21.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A6E5
Deuteranopia (green-blind)
#A4B4DF
Tritanopia (blue-blind)
#F792AD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ef8ce2;
/* rgb */ color: rgb(239, 140, 226);
/* oklch */ color: oklch(77.2% 0.160 331.9);
Tailwind
colors: {
  custom: {
    50: '#f6b0eb',
    500: '#ef8ce2',
    950: '#000000',
  },
}
SCSS
$custom: #ef8ce2;
$custom-light: #f6b0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8ce2",
  "rgb": {
    "r": 239,
    "g": 140,
    "b": 226
  },
  "hsl": {
    "h": 307.879,
    "s": 75.573,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77245,
    "c": 0.15975,
    "h": 331.9
  },
  "luminance": 0.42598
}

Semantic roles & 50–950 ramp

primary
#EF8CE2
secondary
#D8F3DC
accent
#D8280E
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EF8CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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