#EC91DF#EC91DF

#EC91DF is a light, vivid purple. Relative luminance 0.434; OKLCH L 77.5% C 0.147 H 332.2°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#EC91DF
RGBrgb(236, 145, 223)
HSLhsl(309, 71%, 75%)
HSVhsv(309, 39%, 93%)
CMYKcmyk(0%, 38.6%, 5.5%, 7.5%)
CIE-LABlab(71.84, 45.59, -25.28)
CIE-LCHlch(71.84, 52.13, 330.99°)
OKLaboklab(77.55% 0.1296 -0.0683)
OKLCHoklch(77.55% 0.147 332.2)
XYZxyz(58.0362, 43.4143, 75.1206)
Luminance0.4341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC91DF #91EC9E
analogous
#CB91EC #EC91DF #EC91B2
triadic
#EC91DF #DFEC91 #91DFEC
tetradic
#EC91DF #ECCB91 #91EC9E #91B2EC
square
#EC91DF #ECCB91 #91EC9E #91B2EC
split-complementary
#EC91DF #B2EC91 #91ECCB
monochromatic
#DA29C1 #E35DD0 #EC91DF #F5C5EE #FAE5F7

Accessibility & contrast

On white

2.17
#EC91DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#EC91DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC91DF
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC91DF#FFFFFF#000000##000000
##EC91DF1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA8E2
Deuteranopia (green-blind)
#A6B5DC
Tritanopia (blue-blind)
#F396AE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ec91df;
/* rgb */ color: rgb(236, 145, 223);
/* oklch */ color: oklch(77.5% 0.147 332.2);
Tailwind
colors: {
  custom: {
    50: '#f3b3e9',
    500: '#ec91df',
    950: '#000000',
  },
}
SCSS
$custom: #ec91df;
$custom-light: #f3b3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec91df",
  "rgb": {
    "r": 236,
    "g": 145,
    "b": 223
  },
  "hsl": {
    "h": 308.571,
    "s": 70.543,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77548,
    "c": 0.14651,
    "h": 332.2
  },
  "luminance": 0.43411
}

Semantic roles & 50–950 ramp

primary
#EC91DF
secondary
#D9F2DD
accent
#D32E13
background
#FFFBFE
surface
#FEF6FC
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EC91DF

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

Preview Lab → · Contrast checker → · Palette generator →

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