#CD3EC2#CD3EC2

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

Color values

HEX#CD3EC2
RGBrgb(205, 62, 194)
HSLhsl(305, 59%, 52%)
HSVhsv(305, 70%, 80%)
CMYKcmyk(0%, 69.8%, 5.4%, 19.6%)
CIE-LABlab(52.20, 69.92, -39.76)
CIE-LCHlch(52.20, 80.44, 330.37°)
OKLaboklab(61.78% 0.1995 -0.1094)
OKLCHoklch(61.78% 0.228 331.3)
XYZxyz(36.6370, 20.3223, 53.0215)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3EC2 #3ECD49
analogous
#903ECD #CD3EC2 #CD3E7B
triadic
#CD3EC2 #C2CD3E #3EC2CD
tetradic
#CD3EC2 #CD903E #3ECD49 #3E7BCD
square
#CD3EC2 #CD903E #3ECD49 #3E7BCD
split-complementary
#CD3EC2 #7BCD3E #3ECD90
monochromatic
#731E6C #A32A9A #CD3EC2 #DA6FD1 #E69FE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD3EC2#FFFFFF#000000##000000
##CD3EC21.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)
#3370C6
Deuteranopia (green-blind)
#6A84BE
Tritanopia (blue-blind)
#D54E7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd3ec2;
/* rgb */ color: rgb(205, 62, 194);
/* oklch */ color: oklch(61.8% 0.228 331.3);
Tailwind
colors: {
  custom: {
    50: '#e080d5',
    500: '#cd3ec2',
    950: '#000000',
  },
}
SCSS
$custom: #cd3ec2;
$custom-light: #e080d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3ec2",
  "rgb": {
    "r": 205,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 304.615,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61784,
    "c": 0.22756,
    "h": 331.3
  },
  "luminance": 0.20319
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD3EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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