#EF8EEC#EF8EEC

#EF8EEC is a light, vivid purple. Relative luminance 0.438; OKLCH L 78.0% C 0.165 H 328.1°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#EF8EEC
RGBrgb(239, 142, 236)
HSLhsl(302, 75%, 75%)
HSVhsv(302, 41%, 94%)
CMYKcmyk(0%, 40.6%, 1.3%, 6.3%)
CIE-LABlab(72.06, 50.30, -32.03)
CIE-LCHlch(72.06, 59.63, 327.51°)
OKLaboklab(77.96% 0.1403 -0.0873)
OKLCHoklch(77.96% 0.165 328.1)
XYZxyz(60.4089, 43.7558, 84.6044)
Luminance0.4375 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8EEC #8EEF91
analogous
#C28EEF #EF8EEC #EF8EBB
triadic
#EF8EEC #ECEF8E #8EECEF
tetradic
#EF8EEC #EFC28E #8EEF91 #8EBBEF
square
#EF8EEC #EFC28E #8EEF91 #8EBBEF
split-complementary
#EF8EEC #BBEF8E #8EEFC2
monochromatic
#E023DA #E758E3 #EF8EEC #F7C4F5 #FBE4FA

Accessibility & contrast

On white

2.15
#EF8EEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#EF8EEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8EEC
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8EEC#FFFFFF#000000##000000
##EF8EEC1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A9EF
Deuteranopia (green-blind)
#A1B5E9
Tritanopia (blue-blind)
#F597B2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ef8eec;
/* rgb */ color: rgb(239, 142, 236);
/* oklch */ color: oklch(78.0% 0.165 328.1);
Tailwind
colors: {
  custom: {
    50: '#f6b1f2',
    500: '#ef8eec',
    950: '#000000',
  },
}
SCSS
$custom: #ef8eec;
$custom-light: #f6b1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8eec",
  "rgb": {
    "r": 239,
    "g": 142,
    "b": 236
  },
  "hsl": {
    "h": 301.856,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77957,
    "c": 0.16526,
    "h": 328.1
  },
  "luminance": 0.43753
}

Semantic roles & 50–950 ramp

primary
#EF8EEC
secondary
#D8F3D9
accent
#D7140E
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EF8EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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