#CB5FE2#CB5FE2

#CB5FE2 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 66.7% C 0.210 H 320.3°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#CB5FE2
RGBrgb(203, 95, 226)
HSLhsl(289, 69%, 63%)
HSVhsv(289, 58%, 89%)
CMYKcmyk(10.2%, 58%, 0%, 11.4%)
CIE-LABlab(58.39, 61.54, -48.21)
CIE-LCHlch(58.39, 78.17, 321.92°)
OKLaboklab(66.74% 0.1615 -0.1342)
OKLCHoklch(66.74% 0.21 320.3)
XYZxyz(42.4466, 26.3738, 74.7916)
Luminance0.2637 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FE2 #76E25F
analogous
#8A5FE2 #CB5FE2 #E25FB7
triadic
#CB5FE2 #E2CB5F #5FE2CB
tetradic
#CB5FE2 #E28A5F #76E25F #5FB7E2
square
#CB5FE2 #E28A5F #76E25F #5FB7E2
split-complementary
#CB5FE2 #B7E25F #5FE28A
monochromatic
#901EA8 #BA2BD9 #CB5FE2 #DC93EB #EDC7F5

Accessibility & contrast

On white

3.35
#CB5FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#CB5FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FE2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FE2#FFFFFF#000000##000000
##CB5FE21.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4385E6
Deuteranopia (green-blind)
#6A90DF
Tritanopia (blue-blind)
#CC7398
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cb5fe2;
/* rgb */ color: rgb(203, 95, 226);
/* oklch */ color: oklch(66.7% 0.210 320.3);
Tailwind
colors: {
  custom: {
    50: '#de92eb',
    500: '#cb5fe2',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fe2;
$custom-light: #de92eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fe2",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 226
  },
  "hsl": {
    "h": 289.466,
    "s": 69.312,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66743,
    "c": 0.20998,
    "h": 320.3
  },
  "luminance": 0.26372
}

Semantic roles & 50–950 ramp

primary
#CB5FE2
secondary
#BFE6B7
accent
#D11435
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #CB5FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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