#EC8FDD#EC8FDD

#EC8FDD is a light, vivid purple. Relative luminance 0.427; OKLCH L 77.2% C 0.148 H 333.0°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#EC8FDD
RGBrgb(236, 143, 221)
HSLhsl(310, 71%, 74%)
HSVhsv(310, 39%, 93%)
CMYKcmyk(0%, 39.4%, 6.4%, 7.5%)
CIE-LABlab(71.35, 46.27, -24.92)
CIE-LCHlch(71.35, 52.56, 331.69°)
OKLaboklab(77.16% 0.1321 -0.0673)
OKLCHoklch(77.16% 0.148 333)
XYZxyz(57.4652, 42.7012, 73.6079)
Luminance0.4270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8FDD #8FEC9E
analogous
#CC8FEC #EC8FDD #EC8FAF
triadic
#EC8FDD #DDEC8F #8FDDEC
tetradic
#EC8FDD #ECCC8F #8FEC9E #8FAFEC
square
#EC8FDD #ECCC8F #8FEC9E #8FAFEC
split-complementary
#EC8FDD #AFEC8F #8FECCC
monochromatic
#DA26BD #E35BCD #EC8FDD #F5C3ED #FBE5F7

Accessibility & contrast

On white

2.20
#EC8FDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#EC8FDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8FDD
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8FDD#FFFFFF#000000##000000
##EC8FDD1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA6E0
Deuteranopia (green-blind)
#A6B4DA
Tritanopia (blue-blind)
#F494AC
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ec8fdd;
/* rgb */ color: rgb(236, 143, 221);
/* oklch */ color: oklch(77.2% 0.148 333.0);
Tailwind
colors: {
  custom: {
    50: '#f4b2e7',
    500: '#ec8fdd',
    950: '#000000',
  },
}
SCSS
$custom: #ec8fdd;
$custom-light: #f4b2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8fdd",
  "rgb": {
    "r": 236,
    "g": 143,
    "b": 221
  },
  "hsl": {
    "h": 309.677,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.7716,
    "c": 0.14821,
    "h": 333
  },
  "luminance": 0.42698
}

Semantic roles & 50–950 ramp

primary
#EC8FDD
secondary
#D9F2DD
accent
#D33212
background
#FFFBFE
surface
#FEF6FC
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EC8FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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