#CD34C4#CD34C4

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

Color values

HEX#CD34C4
RGBrgb(205, 52, 196)
HSLhsl(304, 60%, 50%)
HSVhsv(304, 75%, 80%)
CMYKcmyk(0%, 74.6%, 4.4%, 19.6%)
CIE-LABlab(51.18, 73.43, -42.53)
CIE-LCHlch(51.18, 84.86, 329.92°)
OKLaboklab(61.09% 0.2088 -0.1173)
OKLCHoklch(61.09% 0.24 330.7)
XYZxyz(36.3685, 19.4235, 54.0475)
Luminance0.1942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD34C4 #34CD3D
analogous
#8934CD #CD34C4 #CD3478
triadic
#CD34C4 #C4CD34 #34C4CD
tetradic
#CD34C4 #CD8934 #34CD3D #3478CD
square
#CD34C4 #CD8934 #34CD3D #3478CD
split-complementary
#CD34C4 #78CD34 #34CD89
monochromatic
#6C1B67 #9D2796 #CD34C4 #D965D2 #E596E1

Accessibility & contrast

On white

4.30
#CD34C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CD34C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD34C4
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD34C4#FFFFFF#000000##000000
##CD34C41.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#226DC8
Deuteranopia (green-blind)
#6481C0
Tritanopia (blue-blind)
#D5487A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd34c4;
/* rgb */ color: rgb(205, 52, 196);
/* oklch */ color: oklch(61.1% 0.240 330.7);
Tailwind
colors: {
  custom: {
    50: '#e07cd6',
    500: '#cd34c4',
    950: '#000000',
  },
}
SCSS
$custom: #cd34c4;
$custom-light: #e07cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd34c4",
  "rgb": {
    "r": 205,
    "g": 52,
    "b": 196
  },
  "hsl": {
    "h": 303.529,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.61085,
    "c": 0.23955,
    "h": 330.7
  },
  "luminance": 0.19421
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD34C4

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

Preview Lab → · Contrast checker → · Palette generator →

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