#EC5DDB#EC5DDB

#EC5DDB is a light, highly saturated purple. Relative luminance 0.308; OKLCH L 70.4% C 0.225 H 332.6°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#EC5DDB
RGBrgb(236, 93, 219)
HSLhsl(307, 79%, 65%)
HSVhsv(307, 61%, 93%)
CMYKcmyk(0%, 60.6%, 7.2%, 7.5%)
CIE-LABlab(62.32, 69.48, -37.78)
CIE-LCHlch(62.32, 79.09, 331.47°)
OKLaboklab(70.43% 0.1995 -0.1033)
OKLCHoklch(70.43% 0.225 332.6)
XYZxyz(51.2926, 30.7799, 70.2437)
Luminance0.3078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5DDB #5DEC6E
analogous
#B65DEC #EC5DDB #EC5D94
triadic
#EC5DDB #DBEC5D #5DDBEC
tetradic
#EC5DDB #ECB65D #5DEC6E #5D94EC
square
#EC5DDB #ECB65D #5DEC6E #5D94EC
split-complementary
#EC5DDB #94EC5D #5DECB6
monochromatic
#B916A6 #E626CF #EC5DDB #F294E7 #F9CBF3

Accessibility & contrast

On white

2.93
#EC5DDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#EC5DDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5DDB
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5DDB#FFFFFF#000000##000000
##EC5DDB1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#588ADF
Deuteranopia (green-blind)
#879ED7
Tritanopia (blue-blind)
#F66994
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ec5ddb;
/* rgb */ color: rgb(236, 93, 219);
/* oklch */ color: oklch(70.4% 0.225 332.6);
Tailwind
colors: {
  custom: {
    50: '#f593e6',
    500: '#ec5ddb',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ddb;
$custom-light: #f593e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ddb",
  "rgb": {
    "r": 236,
    "g": 93,
    "b": 219
  },
  "hsl": {
    "h": 307.133,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.70434,
    "c": 0.22467,
    "h": 332.6
  },
  "luminance": 0.30776
}

Semantic roles & 50–950 ramp

primary
#EC5DDB
secondary
#BAEBC0
accent
#DB230A
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #EC5DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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