#EF8CEF#EF8CEF

#EF8CEF is a light, vivid purple. Relative luminance 0.433; OKLCH L 77.8% C 0.171 H 327.1°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#EF8CEF
RGBrgb(239, 140, 239)
HSLhsl(300, 76%, 74%)
HSVhsv(300, 41%, 94%)
CMYKcmyk(0%, 41.4%, 0%, 6.3%)
CIE-LABlab(71.79, 51.84, -34.10)
CIE-LCHlch(71.79, 62.06, 326.66°)
OKLaboklab(77.79% 0.1438 -0.0931)
OKLCHoklch(77.79% 0.171 327.1)
XYZxyz(60.5535, 43.3418, 86.8208)
Luminance0.4334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8CEF #8CEF8C
analogous
#BE8CEF #EF8CEF #EF8CBE
triadic
#EF8CEF #EFEF8C #8CEFEF
tetradic
#EF8CEF #EFBE8C #8CEF8C #8CBEEF
square
#EF8CEF #EFBE8C #8CEF8C #8CBEEF
split-complementary
#EF8CEF #BEEF8C #8CEFBE
monochromatic
#E021E0 #E856E8 #EF8CEF #F6C2F6 #FBE4FB

Accessibility & contrast

On white

2.17
#EF8CEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#EF8CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8CEF
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8CEF#FFFFFF#000000##000000
##EF8CEF1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A8F2
Deuteranopia (green-blind)
#9FB4EC
Tritanopia (blue-blind)
#F596B2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ef8cef;
/* rgb */ color: rgb(239, 140, 239);
/* oklch */ color: oklch(77.8% 0.171 327.1);
Tailwind
colors: {
  custom: {
    50: '#f6b0f4',
    500: '#ef8cef',
    950: '#000000',
  },
}
SCSS
$custom: #ef8cef;
$custom-light: #f6b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8cef",
  "rgb": {
    "r": 239,
    "g": 140,
    "b": 239
  },
  "hsl": {
    "h": 300,
    "s": 75.573,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77787,
    "c": 0.17133,
    "h": 327.1
  },
  "luminance": 0.43339
}

Semantic roles & 50–950 ramp

primary
#EF8CEF
secondary
#D8F3D8
accent
#D80E0E
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EF8CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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