#CB5AE7#CB5AE7

#CB5AE7 is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.4% C 0.222 H 319.2°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#CB5AE7
RGBrgb(203, 90, 231)
HSLhsl(288, 75%, 63%)
HSVhsv(288, 61%, 91%)
CMYKcmyk(12.1%, 61%, 0%, 9.4%)
CIE-LABlab(57.83, 64.74, -51.90)
CIE-LCHlch(57.83, 82.98, 321.28°)
OKLaboklab(66.42% 0.1677 -0.1449)
OKLCHoklch(66.42% 0.222 319.2)
XYZxyz(42.7067, 25.7802, 78.3123)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5AE7 #76E75A
analogous
#845AE7 #CB5AE7 #E75ABC
triadic
#CB5AE7 #E7CB5A #5AE7CB
tetradic
#CB5AE7 #E7845A #76E75A #5ABCE7
square
#CB5AE7 #E7845A #76E75A #5ABCE7
split-complementary
#CB5AE7 #BCE75A #5AE784
monochromatic
#9019AD #BA25DF #CB5AE7 #DC8FEF #EDC5F7

Accessibility & contrast

On white

3.41
#CB5AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#CB5AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5AE7
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5AE7#FFFFFF#000000##000000
##CB5AE71.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3483EB
Deuteranopia (green-blind)
#638FE3
Tritanopia (blue-blind)
#CB7199
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cb5ae7;
/* rgb */ color: rgb(203, 90, 231);
/* oklch */ color: oklch(66.4% 0.222 319.2);
Tailwind
colors: {
  custom: {
    50: '#de8fef',
    500: '#cb5ae7',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ae7;
$custom-light: #de8fef;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ae7",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 288.085,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66419,
    "c": 0.22166,
    "h": 319.2
  },
  "luminance": 0.25778
}

Semantic roles & 50–950 ramp

primary
#CB5AE7
secondary
#BFE8B5
accent
#D70F36
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CB5AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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