#CD34CD#CD34CD

#CD34CD is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.6% C 0.246 H 328.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CD34CD
RGBrgb(205, 52, 205)
HSLhsl(300, 60%, 50%)
HSVhsv(300, 75%, 80%)
CMYKcmyk(0%, 74.6%, 0%, 19.6%)
CIE-LABlab(51.66, 74.82, -46.95)
CIE-LCHlch(51.66, 88.33, 327.89°)
OKLaboklab(61.59% 0.2088 -0.1302)
OKLCHoklch(61.59% 0.246 328.1)
XYZxyz(37.4238, 19.8457, 59.6053)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD34CD #34CD34
analogous
#8034CD #CD34CD #CD3480
triadic
#CD34CD #CDCD34 #34CDCD
tetradic
#CD34CD #CD8034 #34CD34 #3480CD
square
#CD34CD #CD8034 #34CD34 #3480CD
split-complementary
#CD34CD #80CD34 #34CD80
monochromatic
#6C1B6C #9D279D #CD34CD #D965D9 #E596E5

Accessibility & contrast

On white

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

On black

4.97
#CD34CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD34CD
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD34CD#FFFFFF#000000##000000
##CD34CD1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D6FD1
Deuteranopia (green-blind)
#5F82C9
Tritanopia (blue-blind)
#D34D7F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd34cd;
/* rgb */ color: rgb(205, 52, 205);
/* oklch */ color: oklch(61.6% 0.246 328.1);
Tailwind
colors: {
  custom: {
    50: '#e07cdd',
    500: '#cd34cd',
    950: '#000000',
  },
}
SCSS
$custom: #cd34cd;
$custom-light: #e07cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd34cd",
  "rgb": {
    "r": 205,
    "g": 52,
    "b": 205
  },
  "hsl": {
    "h": 300,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.61586,
    "c": 0.24606,
    "h": 328.1
  },
  "luminance": 0.19843
}

Semantic roles & 50–950 ramp

primary
#CD34CD
secondary
#8CD18C
accent
#E44444
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CD34CD

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

Preview Lab → · Contrast checker → · Palette generator →

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