#CD3AB5#CD3AB5

#CD3AB5 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.8% C 0.223 H 335.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CD3AB5
RGBrgb(205, 58, 181)
HSLhsl(310, 60%, 52%)
HSVhsv(310, 72%, 80%)
CMYKcmyk(0%, 71.7%, 11.7%, 19.6%)
CIE-LABlab(51.09, 69.32, -33.96)
CIE-LCHlch(51.09, 77.19, 333.90°)
OKLaboklab(60.78% 0.2025 -0.0927)
OKLCHoklch(60.78% 0.223 335.4)
XYZxyz(35.0308, 19.3445, 45.5960)
Luminance0.1934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3AB5 #3ACD52
analogous
#9C3ACD #CD3AB5 #CD3A6C
triadic
#CD3AB5 #B5CD3A #3AB5CD
tetradic
#CD3AB5 #CD9C3A #3ACD52 #3A6CCD
square
#CD3AB5 #CD9C3A #3ACD52 #3A6CCD
split-complementary
#CD3AB5 #6CCD3A #3ACD9C
monochromatic
#701C62 #A1298D #CD3AB5 #D96BC7 #E69CDA

Accessibility & contrast

On white

4.31
#CD3AB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CD3AB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3AB5
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3AB5#FFFFFF#000000##000000
##CD3AB51.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6CB8
Deuteranopia (green-blind)
#6E81B1
Tritanopia (blue-blind)
#D74573
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd3ab5;
/* rgb */ color: rgb(205, 58, 181);
/* oklch */ color: oklch(60.8% 0.223 335.4);
Tailwind
colors: {
  custom: {
    50: '#e07ecb',
    500: '#cd3ab5',
    950: '#000000',
  },
}
SCSS
$custom: #cd3ab5;
$custom-light: #e07ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3ab5",
  "rgb": {
    "r": 205,
    "g": 58,
    "b": 181
  },
  "hsl": {
    "h": 309.796,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60776,
    "c": 0.22274,
    "h": 335.4
  },
  "luminance": 0.19341
}

Semantic roles & 50–950 ramp

primary
#CD3AB5
secondary
#91D29C
accent
#E35F45
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD3AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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