#CB39E2#CB39E2

#CB39E2 is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.9% C 0.256 H 321.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#CB39E2
RGBrgb(203, 57, 226)
HSLhsl(292, 74%, 55%)
HSVhsv(292, 75%, 89%)
CMYKcmyk(10.2%, 74.8%, 0%, 11.4%)
CIE-LABlab(53.08, 76.38, -56.68)
CIE-LCHlch(53.08, 95.11, 323.42°)
OKLaboklab(62.92% 0.2014 -0.1586)
OKLCHoklch(62.92% 0.256 321.8)
XYZxyz(39.8177, 21.1160, 73.9153)
Luminance0.2111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB39E2 #50E239
analogous
#7639E2 #CB39E2 #E239A5
triadic
#CB39E2 #E2CB39 #39E2CB
tetradic
#CB39E2 #E27639 #50E239 #39A5E2
square
#CB39E2 #E27639 #50E239 #39A5E2
split-complementary
#CB39E2 #A5E239 #39E276
monochromatic
#7C158C #AB1CC1 #CB39E2 #D96EEA #E7A4F2

Accessibility & contrast

On white

4.02
#CB39E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#CB39E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB39E2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB39E2#FFFFFF#000000##000000
##CB39E21.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#5084DE
Tritanopia (blue-blind)
#CD5B8C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb39e2;
/* rgb */ color: rgb(203, 57, 226);
/* oklch */ color: oklch(62.9% 0.256 321.8);
Tailwind
colors: {
  custom: {
    50: '#df7fec',
    500: '#cb39e2',
    950: '#000000',
  },
}
SCSS
$custom: #cb39e2;
$custom-light: #df7fec;
$custom-dark: #000000;
JSON
{
  "hex": "#cb39e2",
  "rgb": {
    "r": 203,
    "g": 57,
    "b": 226
  },
  "hsl": {
    "h": 291.834,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62918,
    "c": 0.2564,
    "h": 321.8
  },
  "luminance": 0.21114
}

Semantic roles & 50–950 ramp

primary
#CB39E2
secondary
#A2DF98
accent
#F13750
background
#FEF8FE
surface
#FCEFFD
border
#D5CAD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #CB39E2

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

Preview Lab → · Contrast checker → · Palette generator →

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