#CB39C4#CB39C4

#CB39C4 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.2% C 0.233 H 330.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CB39C4
RGBrgb(203, 57, 196)
HSLhsl(303, 58%, 51%)
HSVhsv(303, 72%, 80%)
CMYKcmyk(0%, 71.9%, 3.4%, 20.4%)
CIE-LABlab(51.39, 71.45, -42.21)
CIE-LCHlch(51.39, 82.99, 329.43°)
OKLaboklab(61.18% 0.2024 -0.1165)
OKLCHoklch(61.18% 0.233 330.1)
XYZxyz(36.0554, 19.6111, 54.1002)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB39C4 #39CB40
analogous
#8939CB #CB39C4 #CB397B
triadic
#CB39C4 #C4CB39 #39C4CB
tetradic
#CB39C4 #CB8939 #39CB40 #397BCB
square
#CB39C4 #CB8939 #39CB40 #397BCB
split-complementary
#CB39C4 #7BCB39 #39CB89
monochromatic
#6D1D69 #9D2998 #CB39C4 #D869D2 #E49AE1

Accessibility & contrast

On white

4.27
#CB39C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CB39C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB39C4
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB39C4#FFFFFF#000000##000000
##CB39C41.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#286EC8
Deuteranopia (green-blind)
#6481C0
Tritanopia (blue-blind)
#D34C7B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb39c4;
/* rgb */ color: rgb(203, 57, 196);
/* oklch */ color: oklch(61.2% 0.233 330.1);
Tailwind
colors: {
  custom: {
    50: '#df7dd6',
    500: '#cb39c4',
    950: '#000000',
  },
}
SCSS
$custom: #cb39c4;
$custom-light: #df7dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb39c4",
  "rgb": {
    "r": 203,
    "g": 57,
    "b": 196
  },
  "hsl": {
    "h": 302.877,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.61177,
    "c": 0.23349,
    "h": 330.1
  },
  "luminance": 0.19608
}

Semantic roles & 50–950 ramp

primary
#CB39C4
secondary
#90D093
accent
#E24E46
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CB39C4

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

Preview Lab → · Contrast checker → · Palette generator →

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