#CD3AC2#CD3AC2

#CD3AC2 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.4% C 0.232 H 331.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CD3AC2
RGBrgb(205, 58, 194)
HSLhsl(304, 60%, 52%)
HSVhsv(304, 72%, 80%)
CMYKcmyk(0%, 71.7%, 5.4%, 19.6%)
CIE-LABlab(51.73, 71.26, -40.51)
CIE-LCHlch(51.73, 81.97, 330.38°)
OKLaboklab(61.45% 0.2034 -0.1115)
OKLCHoklch(61.45% 0.232 331.3)
XYZxyz(36.4275, 19.9032, 52.9516)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3AC2 #3ACD45
analogous
#8F3ACD #CD3AC2 #CD3A79
triadic
#CD3AC2 #C2CD3A #3AC2CD
tetradic
#CD3AC2 #CD8F3A #3ACD45 #3A79CD
square
#CD3AC2 #CD8F3A #3ACD45 #3A79CD
split-complementary
#CD3AC2 #79CD3A #3ACD8F
monochromatic
#701C6A #A12998 #CD3AC2 #D96BD1 #E69CE0

Accessibility & contrast

On white

4.22
#CD3AC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CD3AC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3AC2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3AC2#FFFFFF#000000##000000
##CD3AC21.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E6EC6
Deuteranopia (green-blind)
#6882BE
Tritanopia (blue-blind)
#D54B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd3ac2;
/* rgb */ color: rgb(205, 58, 194);
/* oklch */ color: oklch(61.4% 0.232 331.3);
Tailwind
colors: {
  custom: {
    50: '#e07ed5',
    500: '#cd3ac2',
    950: '#000000',
  },
}
SCSS
$custom: #cd3ac2;
$custom-light: #e07ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3ac2",
  "rgb": {
    "r": 205,
    "g": 58,
    "b": 194
  },
  "hsl": {
    "h": 304.49,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.61445,
    "c": 0.23197,
    "h": 331.3
  },
  "luminance": 0.199
}

Semantic roles & 50–950 ramp

primary
#CD3AC2
secondary
#91D296
accent
#E35145
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CD3AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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