#CD34C6#CD34C6

#CD34C6 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 61.2% C 0.241 H 330.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CD34C6
RGBrgb(205, 52, 198)
HSLhsl(303, 60%, 50%)
HSVhsv(303, 75%, 80%)
CMYKcmyk(0%, 74.6%, 3.4%, 19.6%)
CIE-LABlab(51.28, 73.73, -43.52)
CIE-LCHlch(51.28, 85.62, 329.45°)
OKLaboklab(61.2% 0.2089 -0.1202)
OKLCHoklch(61.2% 0.241 330.1)
XYZxyz(36.5977, 19.5152, 55.2544)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD34C6 #34CD3B
analogous
#8734CD #CD34C6 #CD3479
triadic
#CD34C6 #C6CD34 #34C6CD
tetradic
#CD34C6 #CD8734 #34CD3B #3479CD
square
#CD34C6 #CD8734 #34CD3B #3479CD
split-complementary
#CD34C6 #79CD34 #34CD87
monochromatic
#6C1B68 #9D2798 #CD34C6 #D965D4 #E596E2

Accessibility & contrast

On white

4.28
#CD34C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#CD34C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD34C6
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD34C6#FFFFFF#000000##000000
##CD34C61.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F6DCA
Deuteranopia (green-blind)
#6381C2
Tritanopia (blue-blind)
#D5497B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd34c6;
/* rgb */ color: rgb(205, 52, 198);
/* oklch */ color: oklch(61.2% 0.241 330.1);
Tailwind
colors: {
  custom: {
    50: '#e07cd8',
    500: '#cd34c6',
    950: '#000000',
  },
}
SCSS
$custom: #cd34c6;
$custom-light: #e07cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd34c6",
  "rgb": {
    "r": 205,
    "g": 52,
    "b": 198
  },
  "hsl": {
    "h": 302.745,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.61195,
    "c": 0.24098,
    "h": 330.1
  },
  "luminance": 0.19512
}

Semantic roles & 50–950 ramp

primary
#CD34C6
secondary
#8CD18F
accent
#E44B44
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CD34C6

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

Preview Lab → · Contrast checker → · Palette generator →

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