#EC86F2#EC86F2

#EC86F2 is a light, vivid purple. Relative luminance 0.413; OKLCH L 76.7% C 0.182 H 325.1°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#EC86F2
RGBrgb(236, 134, 242)
HSLhsl(297, 81%, 74%)
HSVhsv(297, 45%, 95%)
CMYKcmyk(2.5%, 44.6%, 0%, 5.1%)
CIE-LABlab(70.38, 54.52, -37.95)
CIE-LCHlch(70.38, 66.43, 325.16°)
OKLaboklab(76.7% 0.1494 -0.1041)
OKLCHoklch(76.7% 0.182 325.1)
XYZxyz(59.1428, 41.2966, 88.8429)
Luminance0.4129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC86F2 #8CF286
analogous
#B686F2 #EC86F2 #F286C2
triadic
#EC86F2 #F2EC86 #86F2EC
tetradic
#EC86F2 #F2B686 #8CF286 #86C2F2
square
#EC86F2 #F2B686 #8CF286 #86C2F2
split-complementary
#EC86F2 #C2F286 #86F2B6
monochromatic
#DA19E5 #E34FEC #EC86F2 #F5BDF8 #FBE3FC

Accessibility & contrast

On white

2.27
#EC86F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#EC86F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC86F2
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC86F2#FFFFFF#000000##000000
##EC86F21.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA4F6
Deuteranopia (green-blind)
#97B1EF
Tritanopia (blue-blind)
#F192B1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ec86f2;
/* rgb */ color: rgb(236, 134, 242);
/* oklch */ color: oklch(76.7% 0.182 325.1);
Tailwind
colors: {
  custom: {
    50: '#f4acf6',
    500: '#ec86f2',
    950: '#000000',
  },
}
SCSS
$custom: #ec86f2;
$custom-light: #f4acf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec86f2",
  "rgb": {
    "r": 236,
    "g": 134,
    "b": 242
  },
  "hsl": {
    "h": 296.667,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76704,
    "c": 0.18212,
    "h": 325.1
  },
  "luminance": 0.41294
}

Semantic roles & 50–950 ramp

primary
#EC86F2
secondary
#D9F4D7
accent
#DD0914
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #EC86F2

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

Preview Lab → · Contrast checker → · Palette generator →

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