#EC8EFF#EC8EFF

#EC8EFF is a light, vivid purple. Relative luminance 0.444; OKLCH L 78.5% C 0.182 H 320.7°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#EC8EFF
RGBrgb(236, 142, 255)
HSLhsl(290, 100%, 78%)
HSVhsv(290, 44%, 100%)
CMYKcmyk(7.5%, 44.3%, 0%, 0%)
CIE-LABlab(72.50, 52.91, -41.75)
CIE-LCHlch(72.50, 67.40, 321.73°)
OKLaboklab(78.46% 0.1406 -0.1151)
OKLCHoklch(78.46% 0.182 320.7)
XYZxyz(62.3129, 44.4012, 99.8763)
Luminance0.4440 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8EFF #A1FF8E
analogous
#B48EFF #EC8EFF #FF8ED9
triadic
#EC8EFF #FFEC8E #8EFFEC
tetradic
#EC8EFF #FFB48E #A1FF8E #8ED9FF
square
#EC8EFF #FFB48E #A1FF8E #8ED9FF
split-complementary
#EC8EFF #D9FF8E #8EFFB4
monochromatic
#D714FF #E251FF #EC8EFF #F6CBFF #FAE0FF

Accessibility & contrast

On white

2.13
#EC8EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#EC8EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8EFF
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8EFF#FFFFFF#000000##000000
##EC8EFF1.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EABFF
Deuteranopia (green-blind)
#98B5FC
Tritanopia (blue-blind)
#EE9CBB
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ec8eff;
/* rgb */ color: rgb(236, 142, 255);
/* oklch */ color: oklch(78.5% 0.182 320.7);
Tailwind
colors: {
  custom: {
    50: '#f4b1ff',
    500: '#ec8eff',
    950: '#000000',
  },
}
SCSS
$custom: #ec8eff;
$custom-light: #f4b1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8eff",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 289.912,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.78459,
    "c": 0.18168,
    "h": 320.7
  },
  "luminance": 0.44399
}

Semantic roles & 50–950 ramp

primary
#EC8EFF
secondary
#DAF7D4
accent
#E60027
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #EC8EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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