#EC7CDB#EC7CDB

#EC7CDB is a light, vivid purple. Relative luminance 0.374; OKLCH L 74.3% C 0.178 H 333.2°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#EC7CDB
RGBrgb(236, 124, 219)
HSLhsl(309, 75%, 71%)
HSVhsv(309, 47%, 93%)
CMYKcmyk(0%, 47.5%, 7.2%, 7.5%)
CIE-LABlab(67.55, 55.48, -29.66)
CIE-LCHlch(67.55, 62.90, 331.87°)
OKLaboklab(74.29% 0.159 -0.0804)
OKLCHoklch(74.29% 0.178 333.2)
XYZxyz(54.5857, 37.3660, 71.3414)
Luminance0.3736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CDB #7CEC8D
analogous
#C57CEC #EC7CDB #EC7CA3
triadic
#EC7CDB #DBEC7C #7CDBEC
tetradic
#EC7CDB #ECC57C #7CEC8D #7CA3EC
square
#EC7CDB #ECC57C #7CEC8D #7CA3EC
split-complementary
#EC7CDB #A3EC7C #7CECC5
monochromatic
#D01EB5 #E447CC #EC7CDB #F4B1EA #FBE4F8

Accessibility & contrast

On white

2.48
#EC7CDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#EC7CDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CDB
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CDB#FFFFFF#000000##000000
##EC7CDB1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9ADE
Deuteranopia (green-blind)
#99AAD8
Tritanopia (blue-blind)
#F583A1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec7cdb;
/* rgb */ color: rgb(236, 124, 219);
/* oklch */ color: oklch(74.3% 0.178 333.2);
Tailwind
colors: {
  custom: {
    50: '#f4a5e6',
    500: '#ec7cdb',
    950: '#000000',
  },
}
SCSS
$custom: #ec7cdb;
$custom-light: #f4a5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7cdb",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 219
  },
  "hsl": {
    "h": 309.107,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.7429,
    "c": 0.17817,
    "h": 333.2
  },
  "luminance": 0.37363
}

Semantic roles & 50–950 ramp

primary
#EC7CDB
secondary
#D3F1D7
accent
#D72D0F
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EC7CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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