#CD34CA#CD34CA

#CD34CA is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.4% C 0.244 H 328.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CD34CA
RGBrgb(205, 52, 202)
HSLhsl(301, 60%, 50%)
HSVhsv(301, 75%, 80%)
CMYKcmyk(0%, 74.6%, 1.5%, 19.6%)
CIE-LABlab(51.50, 74.35, -45.48)
CIE-LCHlch(51.50, 87.16, 328.54°)
OKLaboklab(61.42% 0.2089 -0.1259)
OKLCHoklch(61.42% 0.244 328.9)
XYZxyz(37.0652, 19.7022, 57.7164)
Luminance0.1970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD34CA #34CD37
analogous
#8334CD #CD34CA #CD347E
triadic
#CD34CA #CACD34 #34CACD
tetradic
#CD34CA #CD8334 #34CD37 #347ECD
square
#CD34CA #CD8334 #34CD37 #347ECD
split-complementary
#CD34CA #7ECD34 #34CD83
monochromatic
#6C1B6A #9D279B #CD34CA #D965D7 #E596E4

Accessibility & contrast

On white

4.25
#CD34CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CD34CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD34CA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD34CA#FFFFFF#000000##000000
##CD34CA1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#166ECE
Deuteranopia (green-blind)
#6182C6
Tritanopia (blue-blind)
#D44B7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd34ca;
/* rgb */ color: rgb(205, 52, 202);
/* oklch */ color: oklch(61.4% 0.244 328.9);
Tailwind
colors: {
  custom: {
    50: '#e07cdb',
    500: '#cd34ca',
    950: '#000000',
  },
}
SCSS
$custom: #cd34ca;
$custom-light: #e07cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd34ca",
  "rgb": {
    "r": 205,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 301.176,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.61417,
    "c": 0.24387,
    "h": 328.9
  },
  "luminance": 0.19699
}

Semantic roles & 50–950 ramp

primary
#CD34CA
secondary
#8CD18E
accent
#E44744
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CD34CA

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

Preview Lab → · Contrast checker → · Palette generator →

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