#EC8EDD#EC8EDD

#EC8EDD is a light, vivid purple. Relative luminance 0.424; OKLCH L 77.0% C 0.150 H 333.0°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#EC8EDD
RGBrgb(236, 142, 221)
HSLhsl(310, 71%, 74%)
HSVhsv(310, 40%, 93%)
CMYKcmyk(0%, 39.8%, 6.4%, 7.5%)
CIE-LABlab(71.15, 46.79, -25.24)
CIE-LCHlch(71.15, 53.16, 331.66°)
OKLaboklab(77.01% 0.1335 -0.0681)
OKLCHoklch(77.01% 0.15 333)
XYZxyz(57.3158, 42.4023, 73.5581)
Luminance0.4240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8EDD #8EEC9D
analogous
#CC8EEC #EC8EDD #EC8EAE
triadic
#EC8EDD #DDEC8E #8EDDEC
tetradic
#EC8EDD #ECCC8E #8EEC9D #8EAEEC
square
#EC8EDD #ECCC8E #8EEC9D #8EAEEC
split-complementary
#EC8EDD #AEEC8E #8EECCC
monochromatic
#DA25BD #E35ACD #EC8EDD #F5C2ED #FBE5F7

Accessibility & contrast

On white

2.22
#EC8EDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#EC8EDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8EDD
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8EDD#FFFFFF#000000##000000
##EC8EDD1.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA6E0
Deuteranopia (green-blind)
#A5B3DA
Tritanopia (blue-blind)
#F493AC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ec8edd;
/* rgb */ color: rgb(236, 142, 221);
/* oklch */ color: oklch(77.0% 0.150 333.0);
Tailwind
colors: {
  custom: {
    50: '#f4b1e7',
    500: '#ec8edd',
    950: '#000000',
  },
}
SCSS
$custom: #ec8edd;
$custom-light: #f4b1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8edd",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 221
  },
  "hsl": {
    "h": 309.574,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77006,
    "c": 0.14991,
    "h": 333
  },
  "luminance": 0.42399
}

Semantic roles & 50–950 ramp

primary
#EC8EDD
secondary
#D9F2DD
accent
#D33112
background
#FFFBFE
surface
#FEF6FC
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EC8EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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