#CD35B8#CD35B8

#CD35B8 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.5% C 0.230 H 334.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CD35B8
RGBrgb(205, 53, 184)
HSLhsl(308, 60%, 51%)
HSVhsv(308, 74%, 80%)
CMYKcmyk(0%, 74.1%, 10.2%, 19.6%)
CIE-LABlab(50.67, 71.34, -36.36)
CIE-LCHlch(50.67, 80.07, 332.99°)
OKLaboklab(60.53% 0.2075 -0.0995)
OKLCHoklch(60.53% 0.23 334.4)
XYZxyz(35.1020, 18.9891, 47.1547)
Luminance0.1899 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD35B8 #35CD4A
analogous
#9635CD #CD35B8 #CD356C
triadic
#CD35B8 #B8CD35 #35B8CD
tetradic
#CD35B8 #CD9635 #35CD4A #356CCD
square
#CD35B8 #CD9635 #35CD4A #356CCD
split-complementary
#CD35B8 #6CCD35 #35CD96
monochromatic
#6D1B61 #9E278D #CD35B8 #D966C9 #E597DA

Accessibility & contrast

On white

4.38
#CD35B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#CD35B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD35B8
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD35B8#FFFFFF#000000##000000
##CD35B81.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#326ABC
Deuteranopia (green-blind)
#6B80B4
Tritanopia (blue-blind)
#D74374
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd35b8;
/* rgb */ color: rgb(205, 53, 184);
/* oklch */ color: oklch(60.5% 0.230 334.4);
Tailwind
colors: {
  custom: {
    50: '#e07cce',
    500: '#cd35b8',
    950: '#000000',
  },
}
SCSS
$custom: #cd35b8;
$custom-light: #e07cce;
$custom-dark: #000000;
JSON
{
  "hex": "#cd35b8",
  "rgb": {
    "r": 205,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 308.289,
    "s": 60.317,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60526,
    "c": 0.23011,
    "h": 334.4
  },
  "luminance": 0.18986
}

Semantic roles & 50–950 ramp

primary
#CD35B8
secondary
#8DD196
accent
#E35A44
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD35B8

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

Preview Lab → · Contrast checker → · Palette generator →

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