#CD3AB7#CD3AB7

#CD3AB7 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.9% C 0.224 H 334.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CD3AB7
RGBrgb(205, 58, 183)
HSLhsl(309, 60%, 52%)
HSVhsv(309, 72%, 80%)
CMYKcmyk(0%, 71.7%, 10.7%, 19.6%)
CIE-LABlab(51.18, 69.61, -34.98)
CIE-LCHlch(51.18, 77.90, 333.32°)
OKLaboklab(60.88% 0.2027 -0.0956)
OKLCHoklch(60.88% 0.224 334.7)
XYZxyz(35.2375, 19.4272, 46.6845)
Luminance0.1942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3AB7 #3ACD50
analogous
#9A3ACD #CD3AB7 #CD3A6E
triadic
#CD3AB7 #B7CD3A #3AB7CD
tetradic
#CD3AB7 #CD9A3A #3ACD50 #3A6ECD
square
#CD3AB7 #CD9A3A #3ACD50 #3A6ECD
split-complementary
#CD3AB7 #6ECD3A #3ACD9A
monochromatic
#701C64 #A1298F #CD3AB7 #D96BC9 #E69CDB

Accessibility & contrast

On white

4.30
#CD3AB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CD3AB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3AB7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3AB7#FFFFFF#000000##000000
##CD3AB71.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#396CBA
Deuteranopia (green-blind)
#6D82B3
Tritanopia (blue-blind)
#D74674
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd3ab7;
/* rgb */ color: rgb(205, 58, 183);
/* oklch */ color: oklch(60.9% 0.224 334.7);
Tailwind
colors: {
  custom: {
    50: '#e07ecd',
    500: '#cd3ab7',
    950: '#000000',
  },
}
SCSS
$custom: #cd3ab7;
$custom-light: #e07ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3ab7",
  "rgb": {
    "r": 205,
    "g": 58,
    "b": 183
  },
  "hsl": {
    "h": 308.98,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60876,
    "c": 0.22413,
    "h": 334.7
  },
  "luminance": 0.19424
}

Semantic roles & 50–950 ramp

primary
#CD3AB7
secondary
#91D29B
accent
#E35D45
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD3AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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