#EC8EEF#EC8EEF

#EC8EEF is a light, vivid purple. Relative luminance 0.434; OKLCH L 77.7% C 0.166 H 325.9°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#EC8EEF
RGBrgb(236, 142, 239)
HSLhsl(298, 75%, 75%)
HSVhsv(298, 41%, 94%)
CMYKcmyk(1.3%, 40.6%, 0%, 6.3%)
CIE-LABlab(71.83, 49.95, -34.06)
CIE-LCHlch(71.83, 60.45, 325.71°)
OKLaboklab(77.75% 0.1376 -0.0931)
OKLCHoklch(77.75% 0.166 325.9)
XYZxyz(59.8437, 43.4135, 86.8720)
Luminance0.4341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8EEF #91EF8E
analogous
#BB8EEF #EC8EEF #EF8EC2
triadic
#EC8EEF #EFEC8E #8EEFEC
tetradic
#EC8EEF #EFBB8E #91EF8E #8EC2EF
square
#EC8EEF #EFBB8E #91EF8E #8EC2EF
split-complementary
#EC8EEF #C2EF8E #8EEFBB
monochromatic
#DA23E0 #E358E7 #EC8EEF #F5C4F7 #FAE4FB

Accessibility & contrast

On white

2.17
#EC8EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#EC8EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8EEF
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8EEF#FFFFFF#000000##000000
##EC8EEF1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A9F2
Deuteranopia (green-blind)
#9EB4EC
Tritanopia (blue-blind)
#F198B3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ec8eef;
/* rgb */ color: rgb(236, 142, 239);
/* oklch */ color: oklch(77.7% 0.166 325.9);
Tailwind
colors: {
  custom: {
    50: '#f4b1f4',
    500: '#ec8eef',
    950: '#000000',
  },
}
SCSS
$custom: #ec8eef;
$custom-light: #f4b1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8eef",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 239
  },
  "hsl": {
    "h": 298.144,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77748,
    "c": 0.16613,
    "h": 325.9
  },
  "luminance": 0.43411
}

Semantic roles & 50–950 ramp

primary
#EC8EEF
secondary
#D9F3D8
accent
#D70E14
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EC8EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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