#CB39CB#CB39CB

#CB39CB is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.6% C 0.239 H 328.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CB39CB
RGBrgb(203, 57, 203)
HSLhsl(300, 58%, 51%)
HSVhsv(300, 72%, 80%)
CMYKcmyk(0%, 71.9%, 0%, 20.4%)
CIE-LABlab(51.77, 72.56, -45.65)
CIE-LCHlch(51.77, 85.73, 327.82°)
OKLaboklab(61.56% 0.2024 -0.1265)
OKLCHoklch(61.56% 0.239 328)
XYZxyz(36.8708, 19.9372, 58.3946)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB39CB #39CB39
analogous
#8239CB #CB39CB #CB3982
triadic
#CB39CB #CBCB39 #39CBCB
tetradic
#CB39CB #CB8239 #39CB39 #3982CB
square
#CB39CB #CB8239 #39CB39 #3982CB
split-complementary
#CB39CB #82CB39 #39CB82
monochromatic
#6D1D6D #9D299D #CB39CB #D869D8 #E49AE4

Accessibility & contrast

On white

4.21
#CB39CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CB39CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB39CB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB39CB#FFFFFF#000000##000000
##CB39CB1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C6FCF
Deuteranopia (green-blind)
#6182C7
Tritanopia (blue-blind)
#D1507F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb39cb;
/* rgb */ color: rgb(203, 57, 203);
/* oklch */ color: oklch(61.6% 0.239 328.0);
Tailwind
colors: {
  custom: {
    50: '#df7edb',
    500: '#cb39cb',
    950: '#000000',
  },
}
SCSS
$custom: #cb39cb;
$custom-light: #df7edb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb39cb",
  "rgb": {
    "r": 203,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 300,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.61563,
    "c": 0.2387,
    "h": 328
  },
  "luminance": 0.19935
}

Semantic roles & 50–950 ramp

primary
#CB39CB
secondary
#90D090
accent
#E24646
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CB39CB

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

Preview Lab → · Contrast checker → · Palette generator →

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