#EC8CED#EC8CED

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

Color values

HEX#EC8CED
RGBrgb(236, 140, 237)
HSLhsl(299, 73%, 74%)
HSVhsv(299, 41%, 93%)
CMYKcmyk(0.4%, 40.9%, 0%, 7.1%)
CIE-LABlab(71.36, 50.60, -33.71)
CIE-LCHlch(71.36, 60.80, 326.33°)
OKLaboklab(77.36% 0.14 -0.0921)
OKLCHoklch(77.36% 0.168 326.7)
XYZxyz(59.2550, 42.7062, 85.2263)
Luminance0.4270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8CED #8DED8C
analogous
#BC8CED #EC8CED #ED8CBE
triadic
#EC8CED #EDEC8C #8CEDEC
tetradic
#EC8CED #EDBC8C #8DED8C #8CBEED
square
#EC8CED #EDBC8C #8DED8C #8CBEED
split-complementary
#EC8CED #BEED8C #8CEDBC
monochromatic
#DA22DC #E357E5 #EC8CED #F5C1F5 #FBE5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC8CED#FFFFFF#000000##000000
##EC8CED1.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)
#84A7F0
Deuteranopia (green-blind)
#9EB3EA
Tritanopia (blue-blind)
#F196B2
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ec8ced;
/* rgb */ color: rgb(236, 140, 237);
/* oklch */ color: oklch(77.4% 0.168 326.7);
Tailwind
colors: {
  custom: {
    50: '#f4b0f3',
    500: '#ec8ced',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ced;
$custom-light: #f4b0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ced",
  "rgb": {
    "r": 236,
    "g": 140,
    "b": 237
  },
  "hsl": {
    "h": 299.381,
    "s": 72.932,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77363,
    "c": 0.16759,
    "h": 326.7
  },
  "luminance": 0.42703
}

Semantic roles & 50–950 ramp

primary
#EC8CED
secondary
#D9F3D8
accent
#D51013
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EC8CED

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

Preview Lab → · Contrast checker → · Palette generator →

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