#CD34C5#CD34C5

#CD34C5 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 61.1% C 0.240 H 330.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#CD34C5
RGBrgb(205, 52, 197)
HSLhsl(303, 60%, 50%)
HSVhsv(303, 75%, 80%)
CMYKcmyk(0%, 74.6%, 3.9%, 19.6%)
CIE-LABlab(51.23, 73.58, -43.02)
CIE-LCHlch(51.23, 85.24, 329.68°)
OKLaboklab(61.14% 0.2089 -0.1188)
OKLCHoklch(61.14% 0.24 330.4)
XYZxyz(36.4827, 19.4692, 54.6489)
Luminance0.1947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD34C5 #34CD3C
analogous
#8834CD #CD34C5 #CD3479
triadic
#CD34C5 #C5CD34 #34C5CD
tetradic
#CD34C5 #CD8834 #34CD3C #3479CD
square
#CD34C5 #CD8834 #34CD3C #3479CD
split-complementary
#CD34C5 #79CD34 #34CD88
monochromatic
#6C1B68 #9D2797 #CD34C5 #D965D3 #E596E1

Accessibility & contrast

On white

4.29
#CD34C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#CD34C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD34C5
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD34C5#FFFFFF#000000##000000
##CD34C51.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#206DC9
Deuteranopia (green-blind)
#6481C1
Tritanopia (blue-blind)
#D5497A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd34c5;
/* rgb */ color: rgb(205, 52, 197);
/* oklch */ color: oklch(61.1% 0.240 330.4);
Tailwind
colors: {
  custom: {
    50: '#e07cd7',
    500: '#cd34c5',
    950: '#000000',
  },
}
SCSS
$custom: #cd34c5;
$custom-light: #e07cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd34c5",
  "rgb": {
    "r": 205,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 303.137,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.6114,
    "c": 0.24026,
    "h": 330.4
  },
  "luminance": 0.19466
}

Semantic roles & 50–950 ramp

primary
#CD34C5
secondary
#8CD190
accent
#E44D44
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CD34C5

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

Preview Lab → · Contrast checker → · Palette generator →

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