#EC8EEE#EC8EEE

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

Color values

HEX#EC8EEE
RGBrgb(236, 142, 238)
HSLhsl(299, 74%, 75%)
HSVhsv(299, 40%, 93%)
CMYKcmyk(0.8%, 40.3%, 0%, 6.7%)
CIE-LABlab(71.80, 49.77, -33.57)
CIE-LCHlch(71.80, 60.03, 326.00°)
OKLaboklab(77.71% 0.1374 -0.0917)
OKLCHoklch(77.71% 0.165 326.3)
XYZxyz(59.6964, 43.3546, 86.0961)
Luminance0.4335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8EEE #90EE8E
analogous
#BC8EEE #EC8EEE #EE8EC0
triadic
#EC8EEE #EEEC8E #8EEEEC
tetradic
#EC8EEE #EEBC8E #90EE8E #8EC0EE
square
#EC8EEE #EEBC8E #90EE8E #8EC0EE
split-complementary
#EC8EEE #C0EE8E #8EEEBC
monochromatic
#DA24DE #E359E6 #EC8EEE #F5C3F6 #FBE4FB

Accessibility & contrast

On white

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

On black

9.67
#EC8EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8EEE
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8EEE#FFFFFF#000000##000000
##EC8EEE1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A8F1
Deuteranopia (green-blind)
#9FB4EB
Tritanopia (blue-blind)
#F198B3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ec8eee;
/* rgb */ color: rgb(236, 142, 238);
/* oklch */ color: oklch(77.7% 0.165 326.3);
Tailwind
colors: {
  custom: {
    50: '#f4b1f4',
    500: '#ec8eee',
    950: '#000000',
  },
}
SCSS
$custom: #ec8eee;
$custom-light: #f4b1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8eee",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 238
  },
  "hsl": {
    "h": 298.75,
    "s": 73.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77705,
    "c": 0.16519,
    "h": 326.3
  },
  "luminance": 0.43352
}

Semantic roles & 50–950 ramp

primary
#EC8EEE
secondary
#D9F3D8
accent
#D61014
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EC8EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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