#EF8DEC#EF8DEC

#EF8DEC is a light, vivid purple. Relative luminance 0.435; OKLCH L 77.8% C 0.167 H 328.1°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#EF8DEC
RGBrgb(239, 141, 236)
HSLhsl(302, 75%, 75%)
HSVhsv(302, 41%, 94%)
CMYKcmyk(0%, 41%, 1.3%, 6.3%)
CIE-LABlab(71.87, 50.81, -32.34)
CIE-LCHlch(71.87, 60.23, 327.52°)
OKLaboklab(77.81% 0.1418 -0.0881)
OKLCHoklch(77.81% 0.167 328.1)
XYZxyz(60.2608, 43.4595, 84.5550)
Luminance0.4346 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8DEC #8DEF90
analogous
#C18DEF #EF8DEC #EF8DBB
triadic
#EF8DEC #ECEF8D #8DECEF
tetradic
#EF8DEC #EFC18D #8DEF90 #8DBBEF
square
#EF8DEC #EFC18D #8DEF90 #8DBBEF
split-complementary
#EF8DEC #BBEF8D #8DEFC1
monochromatic
#E022DA #E757E3 #EF8DEC #F7C3F5 #FBE4FB

Accessibility & contrast

On white

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

On black

9.69
#EF8DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8DEC
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8DEC#FFFFFF#000000##000000
##EF8DEC1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A8EF
Deuteranopia (green-blind)
#A1B5E9
Tritanopia (blue-blind)
#F596B2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ef8dec;
/* rgb */ color: rgb(239, 141, 236);
/* oklch */ color: oklch(77.8% 0.167 328.1);
Tailwind
colors: {
  custom: {
    50: '#f6b1f2',
    500: '#ef8dec',
    950: '#000000',
  },
}
SCSS
$custom: #ef8dec;
$custom-light: #f6b1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8dec",
  "rgb": {
    "r": 239,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 301.837,
    "s": 75.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77808,
    "c": 0.16693,
    "h": 328.1
  },
  "luminance": 0.43457
}

Semantic roles & 50–950 ramp

primary
#EF8DEC
secondary
#D8F3D9
accent
#D8140E
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EF8DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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