#EC8EDF#EC8EDF

#EC8EDF is a light, vivid purple. Relative luminance 0.425; OKLCH L 77.1% C 0.152 H 332.1°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#EC8EDF
RGBrgb(236, 142, 223)
HSLhsl(308, 71%, 74%)
HSVhsv(308, 40%, 93%)
CMYKcmyk(0%, 39.8%, 5.5%, 7.5%)
CIE-LABlab(71.22, 47.13, -26.23)
CIE-LCHlch(71.22, 53.93, 330.91°)
OKLaboklab(77.09% 0.134 -0.0709)
OKLCHoklch(77.09% 0.152 332.1)
XYZxyz(57.5838, 42.5096, 74.9698)
Luminance0.4251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8EDF #8EEC9B
analogous
#CA8EEC #EC8EDF #EC8EB0
triadic
#EC8EDF #DFEC8E #8EDFEC
tetradic
#EC8EDF #ECCA8E #8EEC9B #8EB0EC
square
#EC8EDF #ECCA8E #8EEC9B #8EB0EC
split-complementary
#EC8EDF #B0EC8E #8EECCA
monochromatic
#DA25C1 #E35AD0 #EC8EDF #F5C2EE #FBE5F8

Accessibility & contrast

On white

2.21
#EC8EDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#EC8EDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8EDF
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8EDF#FFFFFF#000000##000000
##EC8EDF1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA6E2
Deuteranopia (green-blind)
#A4B3DC
Tritanopia (blue-blind)
#F394AD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ec8edf;
/* rgb */ color: rgb(236, 142, 223);
/* oklch */ color: oklch(77.1% 0.152 332.1);
Tailwind
colors: {
  custom: {
    50: '#f4b1e9',
    500: '#ec8edf',
    950: '#000000',
  },
}
SCSS
$custom: #ec8edf;
$custom-light: #f4b1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8edf",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 223
  },
  "hsl": {
    "h": 308.298,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77085,
    "c": 0.15162,
    "h": 332.1
  },
  "luminance": 0.42507
}

Semantic roles & 50–950 ramp

primary
#EC8EDF
secondary
#D9F2DC
accent
#D32D12
background
#FFFBFE
surface
#FEF6FC
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EC8EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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