#CB39B7#CB39B7

#CB39B7 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.5% C 0.224 H 334.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CB39B7
RGBrgb(203, 57, 183)
HSLhsl(308, 58%, 51%)
HSVhsv(308, 72%, 80%)
CMYKcmyk(0%, 71.9%, 9.9%, 20.4%)
CIE-LABlab(50.74, 69.48, -35.70)
CIE-LCHlch(50.74, 78.11, 332.81°)
OKLaboklab(60.49% 0.2017 -0.0977)
OKLCHoklch(60.49% 0.224 334.2)
XYZxyz(34.6393, 19.0446, 46.6422)
Luminance0.1904 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB39B7 #39CB4D
analogous
#9639CB #CB39B7 #CB396E
triadic
#CB39B7 #B7CB39 #39B7CB
tetradic
#CB39B7 #CB9639 #39CB4D #396ECB
square
#CB39B7 #CB9639 #39CB4D #396ECB
split-complementary
#CB39B7 #6ECB39 #39CB96
monochromatic
#6D1D62 #9D298E #CB39B7 #D869C9 #E49ADA

Accessibility & contrast

On white

4.37
#CB39B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#CB39B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB39B7
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB39B7#FFFFFF#000000##000000
##CB39B71.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#366BBA
Deuteranopia (green-blind)
#6B80B3
Tritanopia (blue-blind)
#D54674
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb39b7;
/* rgb */ color: rgb(203, 57, 183);
/* oklch */ color: oklch(60.5% 0.224 334.2);
Tailwind
colors: {
  custom: {
    50: '#df7dcd',
    500: '#cb39b7',
    950: '#000000',
  },
}
SCSS
$custom: #cb39b7;
$custom-light: #df7dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb39b7",
  "rgb": {
    "r": 203,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 308.219,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.60494,
    "c": 0.22413,
    "h": 334.2
  },
  "luminance": 0.19042
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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