#CD35B9#CD35B9

#CD35B9 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.6% C 0.231 H 334.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CD35B9
RGBrgb(205, 53, 185)
HSLhsl(308, 60%, 51%)
HSVhsv(308, 74%, 80%)
CMYKcmyk(0%, 74.1%, 9.8%, 19.6%)
CIE-LABlab(50.72, 71.49, -36.87)
CIE-LCHlch(50.72, 80.43, 332.72°)
OKLaboklab(60.58% 0.2075 -0.101)
OKLCHoklch(60.58% 0.231 334.1)
XYZxyz(35.2072, 19.0312, 47.7087)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD35B9 #35CD49
analogous
#9535CD #CD35B9 #CD356D
triadic
#CD35B9 #B9CD35 #35B9CD
tetradic
#CD35B9 #CD9535 #35CD49 #356DCD
square
#CD35B9 #CD9535 #35CD49 #356DCD
split-complementary
#CD35B9 #6DCD35 #35CD95
monochromatic
#6D1B62 #9E278E #CD35B9 #D966CA #E597DB

Accessibility & contrast

On white

4.37
#CD35B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#CD35B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD35B9
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD35B9#FFFFFF#000000##000000
##CD35B91.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#316BBD
Deuteranopia (green-blind)
#6A81B5
Tritanopia (blue-blind)
#D74374
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd35b9;
/* rgb */ color: rgb(205, 53, 185);
/* oklch */ color: oklch(60.6% 0.231 334.1);
Tailwind
colors: {
  custom: {
    50: '#e07cce',
    500: '#cd35b9',
    950: '#000000',
  },
}
SCSS
$custom: #cd35b9;
$custom-light: #e07cce;
$custom-dark: #000000;
JSON
{
  "hex": "#cd35b9",
  "rgb": {
    "r": 205,
    "g": 53,
    "b": 185
  },
  "hsl": {
    "h": 307.895,
    "s": 60.317,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60577,
    "c": 0.2308,
    "h": 334.1
  },
  "luminance": 0.19028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD35B9

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

Preview Lab → · Contrast checker → · Palette generator →

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