#EC86FC#EC86FC

#EC86FC is a light, vivid purple. Relative luminance 0.419; OKLCH L 77.2% C 0.192 H 322.0°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#EC86FC
RGBrgb(236, 134, 252)
HSLhsl(292, 95%, 76%)
HSVhsv(292, 47%, 99%)
CMYKcmyk(6.3%, 46.8%, 0%, 1.2%)
CIE-LABlab(70.81, 56.36, -42.75)
CIE-LCHlch(70.81, 70.74, 322.82°)
OKLaboklab(77.16% 0.1511 -0.1179)
OKLCHoklch(77.16% 0.192 322)
XYZxyz(60.6859, 41.9139, 96.9701)
Luminance0.4191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC86FC #96FC86
analogous
#B186FC #EC86FC #FC86D1
triadic
#EC86FC #FCEC86 #86FCEC
tetradic
#EC86FC #FCB186 #96FC86 #86D1FC
square
#EC86FC #FCB186 #96FC86 #86D1FC
split-complementary
#EC86FC #D1FC86 #86FCB1
monochromatic
#D90FF9 #E34AFB #EC86FC #F5C2FD #FAE1FE

Accessibility & contrast

On white

2.24
#EC86FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#EC86FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC86FC
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC86FC#FFFFFF#000000##000000
##EC86FC1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A6FF
Deuteranopia (green-blind)
#93B1F9
Tritanopia (blue-blind)
#EF95B5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ec86fc;
/* rgb */ color: rgb(236, 134, 252);
/* oklch */ color: oklch(77.2% 0.192 322.0);
Tailwind
colors: {
  custom: {
    50: '#f4acfe',
    500: '#ec86fc',
    950: '#000000',
  },
}
SCSS
$custom: #ec86fc;
$custom-light: #f4acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ec86fc",
  "rgb": {
    "r": 236,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 291.864,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.77163,
    "c": 0.19161,
    "h": 322
  },
  "luminance": 0.41911
}

Semantic roles & 50–950 ramp

primary
#EC86FC
secondary
#D9F6D5
accent
#E6001F
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #EC86FC

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

Preview Lab → · Contrast checker → · Palette generator →

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