#CD2AC1#CD2AC1

#CD2AC1 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 60.3% C 0.246 H 331.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CD2AC1
RGBrgb(205, 42, 193)
HSLhsl(304, 66%, 48%)
HSVhsv(304, 80%, 80%)
CMYKcmyk(0%, 79.5%, 5.9%, 19.6%)
CIE-LABlab(50.08, 75.68, -42.53)
CIE-LCHlch(50.08, 86.81, 330.67°)
OKLaboklab(60.25% 0.2166 -0.1173)
OKLCHoklch(60.25% 0.246 331.6)
XYZxyz(35.6305, 18.4883, 52.1338)
Luminance0.1848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2AC1 #2ACD36
analogous
#872ACD #CD2AC1 #CD2A6F
triadic
#CD2AC1 #C1CD2A #2AC1CD
tetradic
#CD2AC1 #CD872A #2ACD36 #2A6FCD
square
#CD2AC1 #CD872A #2ACD36 #2A6FCD
split-complementary
#CD2AC1 #6FCD2A #2ACD87
monochromatic
#671561 #9A2091 #CD2AC1 #DD58D3 #E78AE0

Accessibility & contrast

On white

4.47
#CD2AC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#CD2AC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD2AC1
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2AC1#FFFFFF#000000##000000
##CD2AC11.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1669C5
Deuteranopia (green-blind)
#627FBD
Tritanopia (blue-blind)
#D64176
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd2ac1;
/* rgb */ color: rgb(205, 42, 193);
/* oklch */ color: oklch(60.3% 0.246 331.6);
Tailwind
colors: {
  custom: {
    50: '#e178d4',
    500: '#cd2ac1',
    950: '#000000',
  },
}
SCSS
$custom: #cd2ac1;
$custom-light: #e178d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2ac1",
  "rgb": {
    "r": 205,
    "g": 42,
    "b": 193
  },
  "hsl": {
    "h": 304.417,
    "s": 65.992,
    "l": 48.431
  },
  "oklch": {
    "l": 0.60251,
    "c": 0.24633,
    "h": 331.6
  },
  "luminance": 0.18485
}

Semantic roles & 50–950 ramp

primary
#CD2AC1
secondary
#82D188
accent
#E94B3F
background
#FEF7FD
surface
#FDEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #CD2AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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