#CD34CF#CD34CF

#CD34CF is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.7% C 0.248 H 327.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CD34CF
RGBrgb(205, 52, 207)
HSLhsl(299, 62%, 51%)
HSVhsv(299, 75%, 81%)
CMYKcmyk(1%, 74.9%, 0%, 18.8%)
CIE-LABlab(51.77, 75.14, -47.92)
CIE-LCHlch(51.77, 89.12, 327.47°)
OKLaboklab(61.7% 0.2088 -0.133)
OKLCHoklch(61.7% 0.248 327.5)
XYZxyz(37.6668, 19.9428, 60.8848)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD34CF #36CF34
analogous
#7F34CF #CD34CF #CF3483
triadic
#CD34CF #CFCD34 #34CFCD
tetradic
#CD34CF #CF7F34 #36CF34 #3483CF
square
#CD34CF #CF7F34 #36CF34 #3483CF
split-complementary
#CD34CF #83CF34 #34CF7F
monochromatic
#6D1A6E #9E26A0 #CD34CF #D965DB #E597E6

Accessibility & contrast

On white

4.21
#CD34CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CD34CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD34CF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD34CF#FFFFFF#000000##000000
##CD34CF1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#046FD3
Deuteranopia (green-blind)
#5E82CB
Tritanopia (blue-blind)
#D34E80
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd34cf;
/* rgb */ color: rgb(205, 52, 207);
/* oklch */ color: oklch(61.7% 0.248 327.5);
Tailwind
colors: {
  custom: {
    50: '#e07cde',
    500: '#cd34cf',
    950: '#000000',
  },
}
SCSS
$custom: #cd34cf;
$custom-light: #e07cde;
$custom-dark: #000000;
JSON
{
  "hex": "#cd34cf",
  "rgb": {
    "r": 205,
    "g": 52,
    "b": 207
  },
  "hsl": {
    "h": 299.226,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.617,
    "c": 0.24754,
    "h": 327.5
  },
  "luminance": 0.1994
}

Semantic roles & 50–950 ramp

primary
#CD34CF
secondary
#8ED28D
accent
#E54345
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CD34CF

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

Preview Lab → · Contrast checker → · Palette generator →

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