#CD34B6#CD34B6

#CD34B6 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.3% C 0.230 H 335.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CD34B6
RGBrgb(205, 52, 182)
HSLhsl(309, 60%, 50%)
HSVhsv(309, 75%, 80%)
CMYKcmyk(0%, 74.6%, 11.2%, 19.6%)
CIE-LABlab(50.47, 71.35, -35.51)
CIE-LCHlch(50.47, 79.70, 333.54°)
OKLaboklab(60.35% 0.2082 -0.0971)
OKLCHoklch(60.35% 0.23 335)
XYZxyz(34.8488, 18.8156, 46.0433)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD34B6 #34CD4B
analogous
#9834CD #CD34B6 #CD3469
triadic
#CD34B6 #B6CD34 #34B6CD
tetradic
#CD34B6 #CD9834 #34CD4B #3469CD
square
#CD34B6 #CD9834 #34CD4B #3469CD
split-complementary
#CD34B6 #69CD34 #34CD98
monochromatic
#6C1B60 #9D278B #CD34B6 #D965C8 #E596D9

Accessibility & contrast

On white

4.41
#CD34B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CD34B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD34B6
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD34B6#FFFFFF#000000##000000
##CD34B61.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#336ABA
Deuteranopia (green-blind)
#6B80B2
Tritanopia (blue-blind)
#D74172
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd34b6;
/* rgb */ color: rgb(205, 52, 182);
/* oklch */ color: oklch(60.3% 0.230 335.0);
Tailwind
colors: {
  custom: {
    50: '#e07bcc',
    500: '#cd34b6',
    950: '#000000',
  },
}
SCSS
$custom: #cd34b6;
$custom-light: #e07bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd34b6",
  "rgb": {
    "r": 205,
    "g": 52,
    "b": 182
  },
  "hsl": {
    "h": 309.02,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60347,
    "c": 0.22976,
    "h": 335
  },
  "luminance": 0.18813
}

Semantic roles & 50–950 ramp

primary
#CD34B6
secondary
#8CD197
accent
#E45C44
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD34B6

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

Preview Lab → · Contrast checker → · Palette generator →

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