#CB39C1#CB39C1

#CB39C1 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 61.0% C 0.231 H 331.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#CB39C1
RGBrgb(203, 57, 193)
HSLhsl(304, 58%, 51%)
HSVhsv(304, 72%, 80%)
CMYKcmyk(0%, 71.9%, 4.9%, 20.4%)
CIE-LABlab(51.24, 70.99, -40.72)
CIE-LCHlch(51.24, 81.84, 330.16°)
OKLaboklab(61.02% 0.2023 -0.1122)
OKLCHoklch(61.02% 0.231 331)
XYZxyz(35.7173, 19.4758, 52.3198)
Luminance0.1947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB39C1 #39CB43
analogous
#8C39CB #CB39C1 #CB3978
triadic
#CB39C1 #C1CB39 #39C1CB
tetradic
#CB39C1 #CB8C39 #39CB43 #3978CB
square
#CB39C1 #CB8C39 #39CB43 #3978CB
split-complementary
#CB39C1 #78CB39 #39CB8C
monochromatic
#6D1D67 #9D2995 #CB39C1 #D869D0 #E49ADF

Accessibility & contrast

On white

4.29
#CB39C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#CB39C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB39C1
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB39C1#FFFFFF#000000##000000
##CB39C11.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C6DC5
Deuteranopia (green-blind)
#6681BD
Tritanopia (blue-blind)
#D34B7A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb39c1;
/* rgb */ color: rgb(203, 57, 193);
/* oklch */ color: oklch(61.0% 0.231 331.0);
Tailwind
colors: {
  custom: {
    50: '#df7dd4',
    500: '#cb39c1',
    950: '#000000',
  },
}
SCSS
$custom: #cb39c1;
$custom-light: #df7dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb39c1",
  "rgb": {
    "r": 203,
    "g": 57,
    "b": 193
  },
  "hsl": {
    "h": 304.11,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.61015,
    "c": 0.2313,
    "h": 331
  },
  "luminance": 0.19473
}

Semantic roles & 50–950 ramp

primary
#CB39C1
secondary
#90D094
accent
#E25146
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CB39C1

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

Preview Lab → · Contrast checker → · Palette generator →

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