#EC8FDF#EC8FDF

#EC8FDF is a light, vivid purple. Relative luminance 0.428; OKLCH L 77.2% C 0.150 H 332.1°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#EC8FDF
RGBrgb(236, 143, 223)
HSLhsl(308, 71%, 74%)
HSVhsv(308, 39%, 93%)
CMYKcmyk(0%, 39.4%, 5.5%, 7.5%)
CIE-LABlab(71.42, 46.62, -25.91)
CIE-LCHlch(71.42, 53.33, 330.93°)
OKLaboklab(77.24% 0.1326 -0.0701)
OKLCHoklch(77.24% 0.15 332.1)
XYZxyz(57.7333, 42.8085, 75.0196)
Luminance0.4281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8FDF #8FEC9C
analogous
#CB8FEC #EC8FDF #EC8FB1
triadic
#EC8FDF #DFEC8F #8FDFEC
tetradic
#EC8FDF #ECCB8F #8FEC9C #8FB1EC
square
#EC8FDF #ECCB8F #8FEC9C #8FB1EC
split-complementary
#EC8FDF #B1EC8F #8FECCB
monochromatic
#DA26C1 #E35BD0 #EC8FDF #F5C3EE #FBE5F8

Accessibility & contrast

On white

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

On black

9.56
#EC8FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8FDF
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8FDF#FFFFFF#000000##000000
##EC8FDF1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA7E2
Deuteranopia (green-blind)
#A5B4DC
Tritanopia (blue-blind)
#F395AD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ec8fdf;
/* rgb */ color: rgb(236, 143, 223);
/* oklch */ color: oklch(77.2% 0.150 332.1);
Tailwind
colors: {
  custom: {
    50: '#f4b2e9',
    500: '#ec8fdf',
    950: '#000000',
  },
}
SCSS
$custom: #ec8fdf;
$custom-light: #f4b2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8fdf",
  "rgb": {
    "r": 236,
    "g": 143,
    "b": 223
  },
  "hsl": {
    "h": 308.387,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77239,
    "c": 0.14993,
    "h": 332.1
  },
  "luminance": 0.42806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC8FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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