#EC9FFE#EC9FFE

#EC9FFE is a light, vivid purple. Relative luminance 0.498; OKLCH L 81.0% C 0.152 H 319.9°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#EC9FFE
RGBrgb(236, 159, 254)
HSLhsl(289, 98%, 81%)
HSVhsv(289, 37%, 100%)
CMYKcmyk(7.1%, 37.4%, 0%, 0.4%)
CIE-LABlab(75.94, 43.95, -35.85)
CIE-LCHlch(75.94, 56.72, 320.80°)
OKLaboklab(81.03% 0.1166 -0.0983)
OKLCHoklch(81.03% 0.153 319.9)
XYZxyz(64.8773, 49.7869, 99.9390)
Luminance0.4979 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC9FFE #B1FE9F
analogous
#BC9FFE #EC9FFE #FE9FE0
triadic
#EC9FFE #FEEC9F #9FFEEC
tetradic
#EC9FFE #FEBC9F #B1FE9F #9FE0FE
square
#EC9FFE #FEBC9F #B1FE9F #9FE0FE
split-complementary
#EC9FFE #E0FE9F #9FFEBC
monochromatic
#D426FD #E062FD #EC9FFE #F8DCFF #F9E1FF

Accessibility & contrast

On white

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

On black

10.96
#EC9FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC9FFE
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC9FFE#FFFFFF#000000##000000
##EC9FFE1.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec9ffe;
/* rgb */ color: rgb(236, 159, 254);
/* oklch */ color: oklch(81.0% 0.152 319.9);
Tailwind
colors: {
  custom: {
    50: '#f3bcff',
    500: '#ec9ffe',
    950: '#000000',
  },
}
SCSS
$custom: #ec9ffe;
$custom-light: #f3bcff;
$custom-dark: #000000;
JSON
{
  "hex": "#ec9ffe",
  "rgb": {
    "r": 236,
    "g": 159,
    "b": 254
  },
  "hsl": {
    "h": 288.632,
    "s": 97.938,
    "l": 80.98
  },
  "oklch": {
    "l": 0.81027,
    "c": 0.1525,
    "h": 319.9
  },
  "luminance": 0.49785
}

Semantic roles & 50–950 ramp

primary
#EC9FFE
secondary
#DBF7D4
accent
#E6002B
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171218
muted
#858186

Preview Lab

Preview with #EC9FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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