#EF9CF2#EF9CF2

#EF9CF2 is a light, vivid purple. Relative luminance 0.485; OKLCH L 80.4% C 0.147 H 325.6°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#EF9CF2
RGBrgb(239, 156, 242)
HSLhsl(298, 77%, 78%)
HSVhsv(298, 36%, 95%)
CMYKcmyk(1.2%, 35.5%, 0%, 5.1%)
CIE-LABlab(75.16, 44.17, -30.52)
CIE-LCHlch(75.16, 53.69, 325.36°)
OKLaboklab(80.36% 0.1215 -0.0831)
OKLCHoklch(80.36% 0.147 325.6)
XYZxyz(63.5106, 48.5409, 90.0111)
Luminance0.4854 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF9CF2 #9FF29C
analogous
#C49CF2 #EF9CF2 #F29CCA
triadic
#EF9CF2 #F2EF9C #9CF2EF
tetradic
#EF9CF2 #F2C49C #9FF29C #9CCAF2
square
#EF9CF2 #F2C49C #9FF29C #9CCAF2
split-complementary
#EF9CF2 #CAF29C #9CF2C4
monochromatic
#DE30E4 #E666EB #EF9CF2 #F8D2F9 #FBE4FB

Accessibility & contrast

On white

1.96
#EF9CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#EF9CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF9CF2
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF9CF2#FFFFFF#000000##000000
##EF9CF21.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B3F5
Deuteranopia (green-blind)
#AABDEF
Tritanopia (blue-blind)
#F3A4BC
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ef9cf2;
/* rgb */ color: rgb(239, 156, 242);
/* oklch */ color: oklch(80.4% 0.147 325.6);
Tailwind
colors: {
  custom: {
    50: '#f5baf6',
    500: '#ef9cf2',
    950: '#000000',
  },
}
SCSS
$custom: #ef9cf2;
$custom-light: #f5baf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ef9cf2",
  "rgb": {
    "r": 239,
    "g": 156,
    "b": 242
  },
  "hsl": {
    "h": 297.907,
    "s": 76.786,
    "l": 78.039
  },
  "oklch": {
    "l": 0.80363,
    "c": 0.14724,
    "h": 325.6
  },
  "luminance": 0.48538
}

Semantic roles & 50–950 ramp

primary
#EF9CF2
secondary
#D9F3D8
accent
#D90C14
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171217
muted
#858185

Preview Lab

Preview with #EF9CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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