#CB39B3#CB39B3

#CB39B3 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.3% C 0.221 H 335.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CB39B3
RGBrgb(203, 57, 179)
HSLhsl(310, 58%, 51%)
HSVhsv(310, 72%, 80%)
CMYKcmyk(0%, 71.9%, 11.8%, 20.4%)
CIE-LABlab(50.55, 68.89, -33.66)
CIE-LCHlch(50.55, 76.67, 333.96°)
OKLaboklab(60.29% 0.2014 -0.0919)
OKLCHoklch(60.29% 0.221 335.5)
XYZxyz(34.2289, 18.8805, 44.4807)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB39B3 #39CB51
analogous
#9A39CB #CB39B3 #CB396A
triadic
#CB39B3 #B3CB39 #39B3CB
tetradic
#CB39B3 #CB9A39 #39CB51 #396ACB
square
#CB39B3 #CB9A39 #39CB51 #396ACB
split-complementary
#CB39B3 #6ACB39 #39CB9A
monochromatic
#6D1D60 #9D298A #CB39B3 #D869C6 #E49AD8

Accessibility & contrast

On white

4.40
#CB39B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#CB39B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB39B3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB39B3#FFFFFF#000000##000000
##CB39B31.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6AB6
Deuteranopia (green-blind)
#6D80B0
Tritanopia (blue-blind)
#D54472
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb39b3;
/* rgb */ color: rgb(203, 57, 179);
/* oklch */ color: oklch(60.3% 0.221 335.5);
Tailwind
colors: {
  custom: {
    50: '#df7dca',
    500: '#cb39b3',
    950: '#000000',
  },
}
SCSS
$custom: #cb39b3;
$custom-light: #df7dca;
$custom-dark: #000000;
JSON
{
  "hex": "#cb39b3",
  "rgb": {
    "r": 203,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 309.863,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.60292,
    "c": 0.22134,
    "h": 335.5
  },
  "luminance": 0.18877
}

Semantic roles & 50–950 ramp

primary
#CB39B3
secondary
#90D09A
accent
#E26046
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB39B3

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

Preview Lab → · Contrast checker → · Palette generator →

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