#EC9FFC#EC9FFC

#EC9FFC is a light, vivid purple. Relative luminance 0.497; OKLCH L 80.9% C 0.150 H 320.5°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#EC9FFC
RGBrgb(236, 159, 252)
HSLhsl(290, 94%, 81%)
HSVhsv(290, 37%, 99%)
CMYKcmyk(6.3%, 36.9%, 0%, 1.2%)
CIE-LABlab(75.86, 43.57, -34.89)
CIE-LCHlch(75.86, 55.82, 321.31°)
OKLaboklab(80.94% 0.1161 -0.0956)
OKLCHoklch(80.94% 0.15 320.5)
XYZxyz(64.5587, 49.6594, 98.2611)
Luminance0.4966 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC9FFC #AFFC9F
analogous
#BD9FFC #EC9FFC #FC9FDE
triadic
#EC9FFC #FCEC9F #9FFCEC
tetradic
#EC9FFC #FCBD9F #AFFC9F #9FDEFC
square
#EC9FFC #FCBD9F #AFFC9F #9FDEFC
split-complementary
#EC9FFC #DEFC9F #9FFCBD
monochromatic
#D528F8 #E064FA #EC9FFC #F8DAFE #F9E1FE

Accessibility & contrast

On white

1.92
#EC9FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#EC9FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC9FFC
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC9FFC#FFFFFF#000000##000000
##EC9FFC1.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B6FF
Deuteranopia (green-blind)
#A7BEF9
Tritanopia (blue-blind)
#EEAAC2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ec9ffc;
/* rgb */ color: rgb(236, 159, 252);
/* oklch */ color: oklch(80.9% 0.150 320.5);
Tailwind
colors: {
  custom: {
    50: '#f3bcfd',
    500: '#ec9ffc',
    950: '#000000',
  },
}
SCSS
$custom: #ec9ffc;
$custom-light: #f3bcfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec9ffc",
  "rgb": {
    "r": 236,
    "g": 159,
    "b": 252
  },
  "hsl": {
    "h": 289.677,
    "s": 93.939,
    "l": 80.588
  },
  "oklch": {
    "l": 0.80942,
    "c": 0.15041,
    "h": 320.5
  },
  "luminance": 0.49657
}

Semantic roles & 50–950 ramp

primary
#EC9FFC
secondary
#DBF6D5
accent
#E60027
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171217
muted
#858185

Preview Lab

Preview with #EC9FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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