#CD34D1#CD34D1

#CD34D1 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.8% C 0.249 H 326.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CD34D1
RGBrgb(205, 52, 209)
HSLhsl(298, 63%, 51%)
HSVhsv(298, 75%, 82%)
CMYKcmyk(1.9%, 75.1%, 0%, 18%)
CIE-LABlab(51.88, 75.46, -48.89)
CIE-LCHlch(51.88, 89.91, 327.06°)
OKLaboklab(61.82% 0.2087 -0.1358)
OKLCHoklch(61.82% 0.249 326.9)
XYZxyz(37.9128, 20.0413, 62.1807)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD34D1 #38D134
analogous
#7E34D1 #CD34D1 #D13486
triadic
#CD34D1 #D1CD34 #34D1CD
tetradic
#CD34D1 #D17E34 #38D134 #3486D1
square
#CD34D1 #D17E34 #38D134 #3486D1
split-complementary
#CD34D1 #86D134 #34D17E
monochromatic
#6F1A71 #A025A3 #CD34D1 #D966DC #E698E8

Accessibility & contrast

On white

4.19
#CD34D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CD34D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD34D1
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD34D1#FFFFFF#000000##000000
##CD34D11.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FD5
Deuteranopia (green-blind)
#5D82CD
Tritanopia (blue-blind)
#D34F81
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd34d1;
/* rgb */ color: rgb(205, 52, 209);
/* oklch */ color: oklch(61.8% 0.249 326.9);
Tailwind
colors: {
  custom: {
    50: '#e07ce0',
    500: '#cd34d1',
    950: '#000000',
  },
}
SCSS
$custom: #cd34d1;
$custom-light: #e07ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd34d1",
  "rgb": {
    "r": 205,
    "g": 52,
    "b": 209
  },
  "hsl": {
    "h": 298.471,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61815,
    "c": 0.24901,
    "h": 326.9
  },
  "luminance": 0.20039
}

Semantic roles & 50–950 ramp

primary
#CD34D1
secondary
#8FD38E
accent
#E64246
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CD34D1

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

Preview Lab → · Contrast checker → · Palette generator →

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