#EC86EB#EC86EB

#EC86EB is a light, vivid purple. Relative luminance 0.409; OKLCH L 76.4% C 0.176 H 327.5°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#EC86EB
RGBrgb(236, 134, 235)
HSLhsl(301, 73%, 73%)
HSVhsv(301, 43%, 93%)
CMYKcmyk(0%, 43.2%, 0.4%, 7.5%)
CIE-LABlab(70.09, 53.27, -34.56)
CIE-LCHlch(70.09, 63.50, 327.03°)
OKLaboklab(76.4% 0.1481 -0.0945)
OKLCHoklch(76.4% 0.176 327.5)
XYZxyz(58.1115, 40.8841, 83.4116)
Luminance0.4088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC86EB #86EC87
analogous
#BA86EC #EC86EB #EC86B8
triadic
#EC86EB #EBEC86 #86EBEC
tetradic
#EC86EB #ECBA86 #86EC87 #86B8EC
square
#EC86EB #ECBA86 #86EC87 #86B8EC
split-complementary
#EC86EB #B8EC86 #86ECBA
monochromatic
#D622D4 #E451E2 #EC86EB #F4BBF4 #FBE5FB

Accessibility & contrast

On white

2.29
#EC86EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#EC86EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC86EB
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC86EB#FFFFFF#000000##000000
##EC86EB1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA3EF
Deuteranopia (green-blind)
#9AB0E8
Tritanopia (blue-blind)
#F290AE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ec86eb;
/* rgb */ color: rgb(236, 134, 235);
/* oklch */ color: oklch(76.4% 0.176 327.5);
Tailwind
colors: {
  custom: {
    50: '#f4acf1',
    500: '#ec86eb',
    950: '#000000',
  },
}
SCSS
$custom: #ec86eb;
$custom-light: #f4acf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec86eb",
  "rgb": {
    "r": 236,
    "g": 134,
    "b": 235
  },
  "hsl": {
    "h": 300.588,
    "s": 72.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.76395,
    "c": 0.17567,
    "h": 327.5
  },
  "luminance": 0.40881
}

Semantic roles & 50–950 ramp

primary
#EC86EB
secondary
#D8F3D9
accent
#D51211
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EC86EB

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

Preview Lab → · Contrast checker → · Palette generator →

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