#CB32D6#CB32D6

#CB32D6 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.7% C 0.254 H 325.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CB32D6
RGBrgb(203, 50, 214)
HSLhsl(296, 67%, 52%)
HSVhsv(296, 77%, 84%)
CMYKcmyk(5.1%, 76.6%, 0%, 16.1%)
CIE-LABlab(51.65, 76.44, -52.14)
CIE-LCHlch(51.65, 92.53, 325.70°)
OKLaboklab(61.68% 0.208 -0.1453)
OKLCHoklch(61.68% 0.254 325.1)
XYZxyz(37.9059, 19.8353, 65.4373)
Luminance0.1983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB32D6 #3DD632
analogous
#7932D6 #CB32D6 #D6328F
triadic
#CB32D6 #D6CB32 #32D6CB
tetradic
#CB32D6 #D67932 #3DD632 #328FD6
square
#CB32D6 #D67932 #3DD632 #328FD6
split-complementary
#CB32D6 #8FD632 #32D679
monochromatic
#701876 #A022A9 #CB32D6 #D865E0 #E598EA

Accessibility & contrast

On white

4.23
#CB32D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CB32D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB32D6
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB32D6#FFFFFF#000000##000000
##CB32D61.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FDA
Deuteranopia (green-blind)
#5681D2
Tritanopia (blue-blind)
#CF5184
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb32d6;
/* rgb */ color: rgb(203, 50, 214);
/* oklch */ color: oklch(61.7% 0.254 325.1);
Tailwind
colors: {
  custom: {
    50: '#df7be3',
    500: '#cb32d6',
    950: '#000000',
  },
}
SCSS
$custom: #cb32d6;
$custom-light: #df7be3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb32d6",
  "rgb": {
    "r": 203,
    "g": 50,
    "b": 214
  },
  "hsl": {
    "h": 295.976,
    "s": 66.667,
    "l": 51.765
  },
  "oklch": {
    "l": 0.61679,
    "c": 0.25371,
    "h": 325.1
  },
  "luminance": 0.19833
}

Semantic roles & 50–950 ramp

primary
#CB32D6
secondary
#93D68E
accent
#EA3E4A
background
#FEF8FE
surface
#FCEFFC
border
#D5CAD5
text
#160B15
muted
#847C84

Preview Lab

Preview with #CB32D6

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

Preview Lab → · Contrast checker → · Palette generator →

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