#CD34B9#CD34B9

#CD34B9 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.5% C 0.232 H 334.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CD34B9
RGBrgb(205, 52, 185)
HSLhsl(308, 60%, 50%)
HSVhsv(308, 75%, 80%)
CMYKcmyk(0%, 74.6%, 9.8%, 19.6%)
CIE-LABlab(50.62, 71.79, -37.03)
CIE-LCHlch(50.62, 80.78, 332.71°)
OKLaboklab(60.5% 0.2084 -0.1015)
OKLCHoklch(60.5% 0.232 334)
XYZxyz(35.1621, 18.9410, 47.6936)
Luminance0.1894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD34B9 #34CD48
analogous
#9434CD #CD34B9 #CD346C
triadic
#CD34B9 #B9CD34 #34B9CD
tetradic
#CD34B9 #CD9434 #34CD48 #346CCD
square
#CD34B9 #CD9434 #34CD48 #346CCD
split-complementary
#CD34B9 #6CCD34 #34CD94
monochromatic
#6C1B61 #9D278E #CD34B9 #D965CA #E596DB

Accessibility & contrast

On white

4.39
#CD34B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CD34B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD34B9
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD34B9#FFFFFF#000000##000000
##CD34B91.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#306ABD
Deuteranopia (green-blind)
#6A80B5
Tritanopia (blue-blind)
#D74374
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd34b9;
/* rgb */ color: rgb(205, 52, 185);
/* oklch */ color: oklch(60.5% 0.232 334.0);
Tailwind
colors: {
  custom: {
    50: '#e07bce',
    500: '#cd34b9',
    950: '#000000',
  },
}
SCSS
$custom: #cd34b9;
$custom-light: #e07bce;
$custom-dark: #000000;
JSON
{
  "hex": "#cd34b9",
  "rgb": {
    "r": 205,
    "g": 52,
    "b": 185
  },
  "hsl": {
    "h": 307.843,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60501,
    "c": 0.2318,
    "h": 334
  },
  "luminance": 0.18938
}

Semantic roles & 50–950 ramp

primary
#CD34B9
secondary
#8CD195
accent
#E45944
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD34B9

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

Preview Lab → · Contrast checker → · Palette generator →

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