#CB39D2#CB39D2

#CB39D2 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 62.0% C 0.244 H 326.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CB39D2
RGBrgb(203, 57, 210)
HSLhsl(297, 63%, 52%)
HSVhsv(297, 73%, 82%)
CMYKcmyk(3.3%, 72.9%, 0%, 17.6%)
CIE-LABlab(52.15, 73.70, -49.06)
CIE-LCHlch(52.15, 88.53, 326.35°)
OKLaboklab(61.96% 0.2023 -0.1364)
OKLCHoklch(61.96% 0.244 326)
XYZxyz(37.7238, 20.2785, 62.8875)
Luminance0.2028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB39D2 #40D239
analogous
#7F39D2 #CB39D2 #D2398C
triadic
#CB39D2 #D2CB39 #39D2CB
tetradic
#CB39D2 #D27F39 #40D239 #398CD2
square
#CB39D2 #D27F39 #40D239 #398CD2
split-complementary
#CB39D2 #8CD239 #39D27F
monochromatic
#721B76 #A226A8 #CB39D2 #D86BDD #E59DE9

Accessibility & contrast

On white

4.15
#CB39D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CB39D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB39D2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB39D2#FFFFFF#000000##000000
##CB39D21.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0771D6
Deuteranopia (green-blind)
#5C83CE
Tritanopia (blue-blind)
#D05383
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb39d2;
/* rgb */ color: rgb(203, 57, 210);
/* oklch */ color: oklch(62.0% 0.244 326.0);
Tailwind
colors: {
  custom: {
    50: '#df7ee0',
    500: '#cb39d2',
    950: '#000000',
  },
}
SCSS
$custom: #cb39d2;
$custom-light: #df7ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb39d2",
  "rgb": {
    "r": 203,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 297.255,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61962,
    "c": 0.24401,
    "h": 326
  },
  "luminance": 0.20276
}

Semantic roles & 50–950 ramp

primary
#CB39D2
secondary
#95D592
accent
#E64249
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CB39D2

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

Preview Lab → · Contrast checker → · Palette generator →

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