#CD37BA#CD37BA

#CD37BA is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.8% C 0.229 H 333.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CD37BA
RGBrgb(205, 55, 186)
HSLhsl(308, 60%, 51%)
HSVhsv(308, 73%, 80%)
CMYKcmyk(0%, 73.2%, 9.3%, 19.6%)
CIE-LABlab(50.99, 71.01, -37.03)
CIE-LCHlch(50.99, 80.09, 332.46°)
OKLaboklab(60.78% 0.2058 -0.1015)
OKLCHoklch(60.78% 0.229 333.7)
XYZxyz(35.4062, 19.2597, 48.2976)
Luminance0.1926 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD37BA #37CD4A
analogous
#9537CD #CD37BA #CD376F
triadic
#CD37BA #BACD37 #37BACD
tetradic
#CD37BA #CD9537 #37CD4A #376FCD
square
#CD37BA #CD9537 #37CD4A #376FCD
split-complementary
#CD37BA #6FCD37 #37CD95
monochromatic
#6E1C64 #9F2890 #CD37BA #D968CB #E599DC

Accessibility & contrast

On white

4.33
#CD37BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CD37BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD37BA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD37BA#FFFFFF#000000##000000
##CD37BA1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#336CBE
Deuteranopia (green-blind)
#6A81B6
Tritanopia (blue-blind)
#D64575
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd37ba;
/* rgb */ color: rgb(205, 55, 186);
/* oklch */ color: oklch(60.8% 0.229 333.7);
Tailwind
colors: {
  custom: {
    50: '#e07ccf',
    500: '#cd37ba',
    950: '#000000',
  },
}
SCSS
$custom: #cd37ba;
$custom-light: #e07ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd37ba",
  "rgb": {
    "r": 205,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 307.6,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.60784,
    "c": 0.22944,
    "h": 333.7
  },
  "luminance": 0.19257
}

Semantic roles & 50–950 ramp

primary
#CD37BA
secondary
#8FD197
accent
#E35945
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CD37BA

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

Preview Lab → · Contrast checker → · Palette generator →

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