#CD34C7#CD34C7

#CD34C7 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.3% C 0.242 H 329.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CD34C7
RGBrgb(205, 52, 199)
HSLhsl(302, 60%, 50%)
HSVhsv(302, 75%, 80%)
CMYKcmyk(0%, 74.6%, 2.9%, 19.6%)
CIE-LABlab(51.34, 73.89, -44.01)
CIE-LCHlch(51.34, 86.00, 329.22°)
OKLaboklab(61.25% 0.2089 -0.1216)
OKLCHoklch(61.25% 0.242 329.8)
XYZxyz(36.7134, 19.5615, 55.8639)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD34C7 #34CD3A
analogous
#8634CD #CD34C7 #CD347A
triadic
#CD34C7 #C7CD34 #34C7CD
tetradic
#CD34C7 #CD8634 #34CD3A #347ACD
square
#CD34C7 #CD8634 #34CD3A #347ACD
split-complementary
#CD34C7 #7ACD34 #34CD86
monochromatic
#6C1B69 #9D2798 #CD34C7 #D965D5 #E596E2

Accessibility & contrast

On white

4.28
#CD34C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CD34C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD34C7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD34C7#FFFFFF#000000##000000
##CD34C71.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D6DCB
Deuteranopia (green-blind)
#6381C3
Tritanopia (blue-blind)
#D44A7C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd34c7;
/* rgb */ color: rgb(205, 52, 199);
/* oklch */ color: oklch(61.3% 0.242 329.8);
Tailwind
colors: {
  custom: {
    50: '#e07cd8',
    500: '#cd34c7',
    950: '#000000',
  },
}
SCSS
$custom: #cd34c7;
$custom-light: #e07cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd34c7",
  "rgb": {
    "r": 205,
    "g": 52,
    "b": 199
  },
  "hsl": {
    "h": 302.353,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.6125,
    "c": 0.2417,
    "h": 329.8
  },
  "luminance": 0.19559
}

Semantic roles & 50–950 ramp

primary
#CD34C7
secondary
#8CD18F
accent
#E44A44
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CD34C7

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

Preview Lab → · Contrast checker → · Palette generator →

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