#CD3AC7#CD3AC7

#CD3AC7 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.7% C 0.236 H 329.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CD3AC7
RGBrgb(205, 58, 199)
HSLhsl(302, 60%, 52%)
HSVhsv(302, 72%, 80%)
CMYKcmyk(0%, 71.7%, 2.9%, 19.6%)
CIE-LABlab(51.99, 72.04, -42.98)
CIE-LCHlch(51.99, 83.89, 329.18°)
OKLaboklab(61.71% 0.2036 -0.1187)
OKLCHoklch(61.71% 0.236 329.8)
XYZxyz(36.9985, 20.1316, 55.9589)
Luminance0.2013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3AC7 #3ACD40
analogous
#8A3ACD #CD3AC7 #CD3A7E
triadic
#CD3AC7 #C7CD3A #3AC7CD
tetradic
#CD3AC7 #CD8A3A #3ACD40 #3A7ECD
square
#CD3AC7 #CD8A3A #3ACD40 #3A7ECD
split-complementary
#CD3AC7 #7ECD3A #3ACD8A
monochromatic
#701C6D #A1299C #CD3AC7 #D96BD5 #E69CE3

Accessibility & contrast

On white

4.18
#CD3AC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CD3AC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3AC7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3AC7#FFFFFF#000000##000000
##CD3AC71.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#276FCB
Deuteranopia (green-blind)
#6583C3
Tritanopia (blue-blind)
#D44E7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd3ac7;
/* rgb */ color: rgb(205, 58, 199);
/* oklch */ color: oklch(61.7% 0.236 329.8);
Tailwind
colors: {
  custom: {
    50: '#e07ed8',
    500: '#cd3ac7',
    950: '#000000',
  },
}
SCSS
$custom: #cd3ac7;
$custom-light: #e07ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3ac7",
  "rgb": {
    "r": 205,
    "g": 58,
    "b": 199
  },
  "hsl": {
    "h": 302.449,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.61714,
    "c": 0.23564,
    "h": 329.8
  },
  "luminance": 0.20129
}

Semantic roles & 50–950 ramp

primary
#CD3AC7
secondary
#91D294
accent
#E34C45
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CD3AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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