#CD3EC4#CD3EC4

#CD3EC4 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.9% C 0.229 H 330.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CD3EC4
RGBrgb(205, 62, 196)
HSLhsl(304, 59%, 52%)
HSVhsv(304, 70%, 80%)
CMYKcmyk(0%, 69.8%, 4.4%, 19.6%)
CIE-LABlab(52.30, 70.23, -40.76)
CIE-LCHlch(52.30, 81.20, 329.87°)
OKLaboklab(61.89% 0.1996 -0.1123)
OKLCHoklch(61.89% 0.229 330.6)
XYZxyz(36.8631, 20.4127, 54.2124)
Luminance0.2041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3EC4 #3ECD47
analogous
#8E3ECD #CD3EC4 #CD3E7D
triadic
#CD3EC4 #C4CD3E #3EC4CD
tetradic
#CD3EC4 #CD8E3E #3ECD47 #3E7DCD
square
#CD3EC4 #CD8E3E #3ECD47 #3E7DCD
split-complementary
#CD3EC4 #7DCD3E #3ECD8E
monochromatic
#731E6D #A32A9C #CD3EC4 #DA6FD3 #E69FE2

Accessibility & contrast

On white

4.13
#CD3EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CD3EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3EC4
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3EC4#FFFFFF#000000##000000
##CD3EC41.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3170C8
Deuteranopia (green-blind)
#6984C0
Tritanopia (blue-blind)
#D54F7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd3ec4;
/* rgb */ color: rgb(205, 62, 196);
/* oklch */ color: oklch(61.9% 0.229 330.6);
Tailwind
colors: {
  custom: {
    50: '#e080d6',
    500: '#cd3ec4',
    950: '#000000',
  },
}
SCSS
$custom: #cd3ec4;
$custom-light: #e080d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3ec4",
  "rgb": {
    "r": 205,
    "g": 62,
    "b": 196
  },
  "hsl": {
    "h": 303.776,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.6189,
    "c": 0.22904,
    "h": 330.6
  },
  "luminance": 0.2041
}

Semantic roles & 50–950 ramp

primary
#CD3EC4
secondary
#94D398
accent
#E25046
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CD3EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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