#CD3EC1#CD3EC1

#CD3EC1 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.7% C 0.227 H 331.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CD3EC1
RGBrgb(205, 62, 193)
HSLhsl(305, 59%, 52%)
HSVhsv(305, 70%, 80%)
CMYKcmyk(0%, 69.8%, 5.9%, 19.6%)
CIE-LABlab(52.15, 69.77, -39.26)
CIE-LCHlch(52.15, 80.06, 330.63°)
OKLaboklab(61.73% 0.1995 -0.108)
OKLCHoklch(61.73% 0.227 331.6)
XYZxyz(36.5251, 20.2775, 52.4320)
Luminance0.2028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3EC1 #3ECD4A
analogous
#923ECD #CD3EC1 #CD3E7A
triadic
#CD3EC1 #C1CD3E #3EC1CD
tetradic
#CD3EC1 #CD923E #3ECD4A #3E7ACD
square
#CD3EC1 #CD923E #3ECD4A #3E7ACD
split-complementary
#CD3EC1 #7ACD3E #3ECD92
monochromatic
#731E6C #A32A99 #CD3EC1 #DA6FD1 #E69FE0

Accessibility & contrast

On white

4.15
#CD3EC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CD3EC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3EC1
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3EC1#FFFFFF#000000##000000
##CD3EC11.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3470C5
Deuteranopia (green-blind)
#6A83BD
Tritanopia (blue-blind)
#D54E7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd3ec1;
/* rgb */ color: rgb(205, 62, 193);
/* oklch */ color: oklch(61.7% 0.227 331.6);
Tailwind
colors: {
  custom: {
    50: '#e080d4',
    500: '#cd3ec1',
    950: '#000000',
  },
}
SCSS
$custom: #cd3ec1;
$custom-light: #e080d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3ec1",
  "rgb": {
    "r": 205,
    "g": 62,
    "b": 193
  },
  "hsl": {
    "h": 305.035,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61732,
    "c": 0.22682,
    "h": 331.6
  },
  "luminance": 0.20275
}

Semantic roles & 50–950 ramp

primary
#CD3EC1
secondary
#94D399
accent
#E25346
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CD3EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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