#CB5FE1#CB5FE1

#CB5FE1 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 66.7% C 0.209 H 320.6°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#CB5FE1
RGBrgb(203, 95, 225)
HSLhsl(290, 68%, 63%)
HSVhsv(290, 58%, 88%)
CMYKcmyk(9.8%, 57.8%, 0%, 11.8%)
CIE-LABlab(58.34, 61.35, -47.73)
CIE-LCHlch(58.34, 77.73, 322.12°)
OKLaboklab(66.69% 0.1615 -0.1328)
OKLCHoklch(66.69% 0.209 320.6)
XYZxyz(42.3098, 26.3191, 74.0710)
Luminance0.2632 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FE1 #75E15F
analogous
#8A5FE1 #CB5FE1 #E15FB6
triadic
#CB5FE1 #E1CB5F #5FE1CB
tetradic
#CB5FE1 #E18A5F #75E15F #5FB6E1
square
#CB5FE1 #E18A5F #75E15F #5FB6E1
split-complementary
#CB5FE1 #B6E15F #5FE18A
monochromatic
#901FA6 #BA2BD7 #CB5FE1 #DC93EB #ECC6F4

Accessibility & contrast

On white

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

On black

6.26
#CB5FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FE1
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FE1#FFFFFF#000000##000000
##CB5FE11.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4485E5
Deuteranopia (green-blind)
#6B90DE
Tritanopia (blue-blind)
#CC7397
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cb5fe1;
/* rgb */ color: rgb(203, 95, 225);
/* oklch */ color: oklch(66.7% 0.209 320.6);
Tailwind
colors: {
  custom: {
    50: '#de92eb',
    500: '#cb5fe1',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fe1;
$custom-light: #de92eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fe1",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 225
  },
  "hsl": {
    "h": 289.846,
    "s": 68.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66689,
    "c": 0.20905,
    "h": 320.6
  },
  "luminance": 0.26317
}

Semantic roles & 50–950 ramp

primary
#CB5FE1
secondary
#BEE5B6
accent
#D01535
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #CB5FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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