#CD3DB9#CD3DB9

#CD3DB9 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.2% C 0.222 H 334.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CD3DB9
RGBrgb(205, 61, 185)
HSLhsl(308, 59%, 52%)
HSVhsv(308, 70%, 80%)
CMYKcmyk(0%, 70.2%, 9.8%, 19.6%)
CIE-LABlab(51.64, 68.89, -35.43)
CIE-LCHlch(51.64, 77.47, 332.78°)
OKLaboklab(61.23% 0.1999 -0.0969)
OKLCHoklch(61.23% 0.222 334.1)
XYZxyz(35.6028, 19.8224, 47.8405)
Luminance0.1982 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3DB9 #3DCD51
analogous
#993DCD #CD3DB9 #CD3D71
triadic
#CD3DB9 #B9CD3D #3DB9CD
tetradic
#CD3DB9 #CD993D #3DCD51 #3D71CD
square
#CD3DB9 #CD993D #3DCD51 #3D71CD
split-complementary
#CD3DB9 #71CD3D #3DCD99
monochromatic
#721D66 #A32A92 #CD3DB9 #DA6ECB #E69EDC

Accessibility & contrast

On white

4.23
#CD3DB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CD3DB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3DB9
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3DB9#FFFFFF#000000##000000
##CD3DB91.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6EBC
Deuteranopia (green-blind)
#6D83B5
Tritanopia (blue-blind)
#D74976
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd3db9;
/* rgb */ color: rgb(205, 61, 185);
/* oklch */ color: oklch(61.2% 0.222 334.1);
Tailwind
colors: {
  custom: {
    50: '#e07fce',
    500: '#cd3db9',
    950: '#000000',
  },
}
SCSS
$custom: #cd3db9;
$custom-light: #e07fce;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3db9",
  "rgb": {
    "r": 205,
    "g": 61,
    "b": 185
  },
  "hsl": {
    "h": 308.333,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61234,
    "c": 0.22217,
    "h": 334.1
  },
  "luminance": 0.19819
}

Semantic roles & 50–950 ramp

primary
#CD3DB9
secondary
#93D29C
accent
#E25B46
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD3DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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