#EC7DDF#EC7DDF

#EC7DDF is a light, vivid purple. Relative luminance 0.378; OKLCH L 74.6% C 0.180 H 331.7°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#EC7DDF
RGBrgb(236, 125, 223)
HSLhsl(307, 74%, 71%)
HSVhsv(307, 47%, 93%)
CMYKcmyk(0%, 47%, 5.5%, 7.5%)
CIE-LABlab(67.90, 55.65, -31.34)
CIE-LCHlch(67.90, 63.87, 330.61°)
OKLaboklab(74.6% 0.1584 -0.0852)
OKLCHoklch(74.6% 0.18 331.7)
XYZxyz(55.2446, 37.8311, 74.1900)
Luminance0.3783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7DDF #7DEC8A
analogous
#C17DEC #EC7DDF #EC7DA7
triadic
#EC7DDF #DFEC7D #7DDFEC
tetradic
#EC7DDF #ECC17D #7DEC8A #7DA7EC
square
#EC7DDF #ECC17D #7DEC8A #7DA7EC
split-complementary
#EC7DDF #A7EC7D #7DECC1
monochromatic
#D01EBB #E448D2 #EC7DDF #F4B2EC #FBE4F8

Accessibility & contrast

On white

2.45
#EC7DDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#EC7DDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7DDF
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7DDF#FFFFFF#000000##000000
##EC7DDF1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#799CE2
Deuteranopia (green-blind)
#99ABDC
Tritanopia (blue-blind)
#F485A4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ec7ddf;
/* rgb */ color: rgb(236, 125, 223);
/* oklch */ color: oklch(74.6% 0.180 331.7);
Tailwind
colors: {
  custom: {
    50: '#f4a6e9',
    500: '#ec7ddf',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ddf;
$custom-light: #f4a6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ddf",
  "rgb": {
    "r": 236,
    "g": 125,
    "b": 223
  },
  "hsl": {
    "h": 307.027,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74598,
    "c": 0.17987,
    "h": 331.7
  },
  "luminance": 0.37828
}

Semantic roles & 50–950 ramp

primary
#EC7DDF
secondary
#D3F1D7
accent
#D7260F
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EC7DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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