#EC86F3#EC86F3

#EC86F3 is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.7% C 0.183 H 324.8°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#EC86F3
RGBrgb(236, 134, 243)
HSLhsl(296, 82%, 74%)
HSVhsv(296, 45%, 95%)
CMYKcmyk(2.9%, 44.9%, 0%, 4.7%)
CIE-LABlab(70.43, 54.70, -38.43)
CIE-LCHlch(70.43, 66.86, 324.91°)
OKLaboklab(76.75% 0.1496 -0.1055)
OKLCHoklch(76.75% 0.183 324.8)
XYZxyz(59.2934, 41.3569, 89.6361)
Luminance0.4135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC86F3 #8DF386
analogous
#B686F3 #EC86F3 #F386C4
triadic
#EC86F3 #F3EC86 #86F3EC
tetradic
#EC86F3 #F3B686 #8DF386 #86C4F3
square
#EC86F3 #F3B686 #8DF386 #86C4F3
split-complementary
#EC86F3 #C4F386 #86F3B6
monochromatic
#DA17E8 #E34EED #EC86F3 #F5BEF9 #FBE3FC

Accessibility & contrast

On white

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

On black

9.27
#EC86F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC86F3
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC86F3#FFFFFF#000000##000000
##EC86F31.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA4F7
Deuteranopia (green-blind)
#97B1F0
Tritanopia (blue-blind)
#F092B1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ec86f3;
/* rgb */ color: rgb(236, 134, 243);
/* oklch */ color: oklch(76.7% 0.183 324.8);
Tailwind
colors: {
  custom: {
    50: '#f4acf7',
    500: '#ec86f3',
    950: '#000000',
  },
}
SCSS
$custom: #ec86f3;
$custom-light: #f4acf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec86f3",
  "rgb": {
    "r": 236,
    "g": 134,
    "b": 243
  },
  "hsl": {
    "h": 296.147,
    "s": 81.955,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76749,
    "c": 0.18306,
    "h": 324.8
  },
  "luminance": 0.41354
}

Semantic roles & 50–950 ramp

primary
#EC86F3
secondary
#D9F4D7
accent
#DE0715
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EC86F3

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

Preview Lab → · Contrast checker → · Palette generator →

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