#CD34C1#CD34C1

#CD34C1 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.9% C 0.237 H 331.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CD34C1
RGBrgb(205, 52, 193)
HSLhsl(305, 60%, 50%)
HSVhsv(305, 75%, 80%)
CMYKcmyk(0%, 74.6%, 5.9%, 19.6%)
CIE-LABlab(51.02, 72.97, -41.04)
CIE-LCHlch(51.02, 83.72, 330.65°)
OKLaboklab(60.92% 0.2088 -0.113)
OKLCHoklch(60.92% 0.237 331.6)
XYZxyz(36.0305, 19.2883, 52.2671)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD34C1 #34CD40
analogous
#8C34CD #CD34C1 #CD3474
triadic
#CD34C1 #C1CD34 #34C1CD
tetradic
#CD34C1 #CD8C34 #34CD40 #3474CD
square
#CD34C1 #CD8C34 #34CD40 #3474CD
split-complementary
#CD34C1 #74CD34 #34CD8C
monochromatic
#6C1B66 #9D2794 #CD34C1 #D965D0 #E596DF

Accessibility & contrast

On white

4.32
#CD34C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#CD34C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD34C1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD34C1#FFFFFF#000000##000000
##CD34C11.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#276CC5
Deuteranopia (green-blind)
#6681BD
Tritanopia (blue-blind)
#D54778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd34c1;
/* rgb */ color: rgb(205, 52, 193);
/* oklch */ color: oklch(60.9% 0.237 331.6);
Tailwind
colors: {
  custom: {
    50: '#e07cd4',
    500: '#cd34c1',
    950: '#000000',
  },
}
SCSS
$custom: #cd34c1;
$custom-light: #e07cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd34c1",
  "rgb": {
    "r": 205,
    "g": 52,
    "b": 193
  },
  "hsl": {
    "h": 304.706,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60923,
    "c": 0.2374,
    "h": 331.6
  },
  "luminance": 0.19285
}

Semantic roles & 50–950 ramp

primary
#CD34C1
secondary
#8CD192
accent
#E45144
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CD34C1

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

Preview Lab → · Contrast checker → · Palette generator →

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