#EF8CE4#EF8CE4

#EF8CE4 is a light, vivid purple. Relative luminance 0.427; OKLCH L 77.3% C 0.161 H 331.1°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#EF8CE4
RGBrgb(239, 140, 228)
HSLhsl(307, 76%, 74%)
HSVhsv(307, 41%, 94%)
CMYKcmyk(0%, 41.4%, 4.6%, 6.3%)
CIE-LABlab(71.36, 49.92, -28.73)
CIE-LCHlch(71.36, 57.60, 330.08°)
OKLaboklab(77.33% 0.1414 -0.0779)
OKLCHoklch(77.33% 0.161 331.1)
XYZxyz(58.9777, 42.7114, 78.5213)
Luminance0.4271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8CE4 #8CEF97
analogous
#C98CEF #EF8CE4 #EF8CB3
triadic
#EF8CE4 #E4EF8C #8CE4EF
tetradic
#EF8CE4 #EFC98C #8CEF97 #8CB3EF
square
#EF8CE4 #EFC98C #8CEF97 #8CB3EF
split-complementary
#EF8CE4 #B3EF8C #8CEFC9
monochromatic
#E021CB #E856D7 #EF8CE4 #F6C2F1 #FBE4F9

Accessibility & contrast

On white

2.20
#EF8CE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#EF8CE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8CE4
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8CE4#FFFFFF#000000##000000
##EF8CE41.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A6E7
Deuteranopia (green-blind)
#A3B4E1
Tritanopia (blue-blind)
#F693AE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ef8ce4;
/* rgb */ color: rgb(239, 140, 228);
/* oklch */ color: oklch(77.3% 0.161 331.1);
Tailwind
colors: {
  custom: {
    50: '#f6b0ec',
    500: '#ef8ce4',
    950: '#000000',
  },
}
SCSS
$custom: #ef8ce4;
$custom-light: #f6b0ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8ce4",
  "rgb": {
    "r": 239,
    "g": 140,
    "b": 228
  },
  "hsl": {
    "h": 306.667,
    "s": 75.573,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77327,
    "c": 0.16148,
    "h": 331.1
  },
  "luminance": 0.42708
}

Semantic roles & 50–950 ramp

primary
#EF8CE4
secondary
#D8F3DB
accent
#D8240E
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EF8CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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