#CB39C2#CB39C2

#CB39C2 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 61.1% C 0.232 H 330.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CB39C2
RGBrgb(203, 57, 194)
HSLhsl(304, 58%, 51%)
HSVhsv(304, 72%, 80%)
CMYKcmyk(0%, 71.9%, 4.4%, 20.4%)
CIE-LABlab(51.29, 71.14, -41.22)
CIE-LCHlch(51.29, 82.22, 329.91°)
OKLaboklab(61.07% 0.2023 -0.1136)
OKLCHoklch(61.07% 0.232 330.7)
XYZxyz(35.8292, 19.5206, 52.9093)
Luminance0.1952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB39C2 #39CB42
analogous
#8B39CB #CB39C2 #CB3979
triadic
#CB39C2 #C2CB39 #39C2CB
tetradic
#CB39C2 #CB8B39 #39CB42 #3979CB
square
#CB39C2 #CB8B39 #39CB42 #3979CB
split-complementary
#CB39C2 #79CB39 #39CB8B
monochromatic
#6D1D68 #9D2996 #CB39C2 #D869D1 #E49AE0

Accessibility & contrast

On white

4.28
#CB39C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#CB39C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB39C2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB39C2#FFFFFF#000000##000000
##CB39C21.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb39c2;
/* rgb */ color: rgb(203, 57, 194);
/* oklch */ color: oklch(61.1% 0.232 330.7);
Tailwind
colors: {
  custom: {
    50: '#df7dd5',
    500: '#cb39c2',
    950: '#000000',
  },
}
SCSS
$custom: #cb39c2;
$custom-light: #df7dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb39c2",
  "rgb": {
    "r": 203,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 303.699,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.61069,
    "c": 0.23203,
    "h": 330.7
  },
  "luminance": 0.19518
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB39C2

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

Preview Lab → · Contrast checker → · Palette generator →

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