#CD37CB#CD37CB

#CD37CB is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.7% C 0.242 H 328.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CD37CB
RGBrgb(205, 55, 203)
HSLhsl(301, 60%, 51%)
HSVhsv(301, 73%, 80%)
CMYKcmyk(0%, 73.2%, 1%, 19.6%)
CIE-LABlab(51.87, 73.61, -45.48)
CIE-LCHlch(51.87, 86.52, 328.29°)
OKLaboklab(61.7% 0.2063 -0.1259)
OKLCHoklch(61.7% 0.242 328.6)
XYZxyz(37.3221, 20.0261, 58.3880)
Luminance0.2002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD37CB #37CD39
analogous
#8437CD #CD37CB #CD3780
triadic
#CD37CB #CBCD37 #37CBCD
tetradic
#CD37CB #CD8437 #37CD39 #3780CD
square
#CD37CB #CD8437 #37CD39 #3780CD
split-complementary
#CD37CB #80CD37 #37CD84
monochromatic
#6E1C6D #9F289D #CD37CB #D968D8 #E599E4

Accessibility & contrast

On white

4.20
#CD37CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CD37CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD37CB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD37CB#FFFFFF#000000##000000
##CD37CB1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B6FCF
Deuteranopia (green-blind)
#6282C7
Tritanopia (blue-blind)
#D44E7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd37cb;
/* rgb */ color: rgb(205, 55, 203);
/* oklch */ color: oklch(61.7% 0.242 328.6);
Tailwind
colors: {
  custom: {
    50: '#e07ddb',
    500: '#cd37cb',
    950: '#000000',
  },
}
SCSS
$custom: #cd37cb;
$custom-light: #e07ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd37cb",
  "rgb": {
    "r": 205,
    "g": 55,
    "b": 203
  },
  "hsl": {
    "h": 300.8,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.61697,
    "c": 0.24168,
    "h": 328.6
  },
  "luminance": 0.20023
}

Semantic roles & 50–950 ramp

primary
#CD37CB
secondary
#8FD190
accent
#E34745
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CD37CB

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

Preview Lab → · Contrast checker → · Palette generator →

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