#EC5FDD#EC5FDD

#EC5FDD is a light, highly saturated purple. Relative luminance 0.312; OKLCH L 70.7% C 0.223 H 332.0°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#EC5FDD
RGBrgb(236, 95, 221)
HSLhsl(306, 79%, 65%)
HSVhsv(306, 60%, 93%)
CMYKcmyk(0%, 59.7%, 6.4%, 7.5%)
CIE-LABlab(62.71, 68.97, -38.29)
CIE-LCHlch(62.71, 78.89, 330.96°)
OKLaboklab(70.75% 0.1974 -0.1048)
OKLCHoklch(70.75% 0.223 332)
XYZxyz(51.7354, 31.2415, 71.6979)
Luminance0.3124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5FDD #5FEC6E
analogous
#B55FEC #EC5FDD #EC5F97
triadic
#EC5FDD #DDEC5F #5FDDEC
tetradic
#EC5FDD #ECB55F #5FEC6E #5F97EC
square
#EC5FDD #ECB55F #5FEC6E #5F97EC
split-complementary
#EC5FDD #97EC5F #5FECB5
monochromatic
#BA16A9 #E628D1 #EC5FDD #F296E9 #F9CCF4

Accessibility & contrast

On white

2.90
#EC5FDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#EC5FDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5FDD
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5FDD#FFFFFF#000000##000000
##EC5FDD1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#598BE1
Deuteranopia (green-blind)
#879FD9
Tritanopia (blue-blind)
#F56B96
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ec5fdd;
/* rgb */ color: rgb(236, 95, 221);
/* oklch */ color: oklch(70.7% 0.223 332.0);
Tailwind
colors: {
  custom: {
    50: '#f594e8',
    500: '#ec5fdd',
    950: '#000000',
  },
}
SCSS
$custom: #ec5fdd;
$custom-light: #f594e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5fdd",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 221
  },
  "hsl": {
    "h": 306.383,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70748,
    "c": 0.22345,
    "h": 332
  },
  "luminance": 0.31238
}

Semantic roles & 50–950 ramp

primary
#EC5FDD
secondary
#BBEBC0
accent
#DB210A
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #EC5FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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