#CB39B8#CB39B8

#CB39B8 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.5% C 0.225 H 333.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CB39B8
RGBrgb(203, 57, 184)
HSLhsl(308, 58%, 51%)
HSVhsv(308, 72%, 80%)
CMYKcmyk(0%, 71.9%, 9.4%, 20.4%)
CIE-LABlab(50.79, 69.63, -36.20)
CIE-LCHlch(50.79, 78.48, 332.53°)
OKLaboklab(60.55% 0.2018 -0.0992)
OKLCHoklch(60.55% 0.225 333.8)
XYZxyz(34.7437, 19.0864, 47.1923)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB39B8 #39CB4C
analogous
#9539CB #CB39B8 #CB396F
triadic
#CB39B8 #B8CB39 #39B8CB
tetradic
#CB39B8 #CB9539 #39CB4C #396FCB
square
#CB39B8 #CB9539 #39CB4C #396FCB
split-complementary
#CB39B8 #6FCB39 #39CB95
monochromatic
#6D1D63 #9D298E #CB39B8 #D869C9 #E49ADB

Accessibility & contrast

On white

4.36
#CB39B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#CB39B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB39B8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB39B8#FFFFFF#000000##000000
##CB39B81.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#356BBC
Deuteranopia (green-blind)
#6A80B4
Tritanopia (blue-blind)
#D44675
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb39b8;
/* rgb */ color: rgb(203, 57, 184);
/* oklch */ color: oklch(60.5% 0.225 333.8);
Tailwind
colors: {
  custom: {
    50: '#df7dcd',
    500: '#cb39b8',
    950: '#000000',
  },
}
SCSS
$custom: #cb39b8;
$custom-light: #df7dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb39b8",
  "rgb": {
    "r": 203,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 307.808,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.60545,
    "c": 0.22483,
    "h": 333.8
  },
  "luminance": 0.19083
}

Semantic roles & 50–950 ramp

primary
#CB39B8
secondary
#90D098
accent
#E25A46
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB39B8

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

Preview Lab → · Contrast checker → · Palette generator →

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