#EF8CEB#EF8CEB

#EF8CEB is a light, vivid purple. Relative luminance 0.431; OKLCH L 77.6% C 0.168 H 328.5°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#EF8CEB
RGBrgb(239, 140, 235)
HSLhsl(302, 76%, 74%)
HSVhsv(302, 41%, 94%)
CMYKcmyk(0%, 41.4%, 1.7%, 6.3%)
CIE-LABlab(71.63, 51.14, -32.16)
CIE-LCHlch(71.63, 60.41, 327.83°)
OKLaboklab(77.62% 0.143 -0.0876)
OKLCHoklch(77.62% 0.168 328.5)
XYZxyz(59.9691, 43.1080, 83.7430)
Luminance0.4310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8CEB #8CEF90
analogous
#C28CEF #EF8CEB #EF8CBA
triadic
#EF8CEB #EBEF8C #8CEBEF
tetradic
#EF8CEB #EFC28C #8CEF90 #8CBAEF
square
#EF8CEB #EFC28C #8CEF90 #8CBAEF
split-complementary
#EF8CEB #BAEF8C #8CEFC2
monochromatic
#E021D8 #E856E2 #EF8CEB #F6C2F4 #FBE4FA

Accessibility & contrast

On white

2.18
#EF8CEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#EF8CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8CEB
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8CEB#FFFFFF#000000##000000
##EF8CEB1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A7EE
Deuteranopia (green-blind)
#A0B4E8
Tritanopia (blue-blind)
#F595B1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ef8ceb;
/* rgb */ color: rgb(239, 140, 235);
/* oklch */ color: oklch(77.6% 0.168 328.5);
Tailwind
colors: {
  custom: {
    50: '#f6b0f1',
    500: '#ef8ceb',
    950: '#000000',
  },
}
SCSS
$custom: #ef8ceb;
$custom-light: #f6b0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8ceb",
  "rgb": {
    "r": 239,
    "g": 140,
    "b": 235
  },
  "hsl": {
    "h": 302.424,
    "s": 75.573,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77617,
    "c": 0.16768,
    "h": 328.5
  },
  "luminance": 0.43105
}

Semantic roles & 50–950 ramp

primary
#EF8CEB
secondary
#D8F3D9
accent
#D8160E
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EF8CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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