#CB5AEB#CB5AEB

#CB5AEB is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.6% C 0.225 H 318.1°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#CB5AEB
RGBrgb(203, 90, 235)
HSLhsl(287, 78%, 64%)
HSVhsv(287, 62%, 92%)
CMYKcmyk(13.6%, 61.7%, 0%, 7.8%)
CIE-LABlab(58.05, 65.50, -53.79)
CIE-LCHlch(58.05, 84.76, 320.60°)
OKLaboklab(66.65% 0.1678 -0.1504)
OKLCHoklch(66.65% 0.225 318.1)
XYZxyz(43.2781, 26.0088, 81.3217)
Luminance0.2601 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5AEB #7AEB5A
analogous
#825AEB #CB5AEB #EB5AC2
triadic
#CB5AEB #EBCB5A #5AEBCB
tetradic
#CB5AEB #EB825A #7AEB5A #5AC2EB
square
#CB5AEB #EB825A #7AEB5A #5AC2EB
split-complementary
#CB5AEB #C2EB5A #5AEB82
monochromatic
#9216B5 #BA23E4 #CB5AEB #DC91F2 #EDC7F8

Accessibility & contrast

On white

3.39
#CB5AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#CB5AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5AEB
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5AEB#FFFFFF#000000##000000
##CB5AEB1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F84EF
Deuteranopia (green-blind)
#608FE7
Tritanopia (blue-blind)
#CA739B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cb5aeb;
/* rgb */ color: rgb(203, 90, 235);
/* oklch */ color: oklch(66.6% 0.225 318.1);
Tailwind
colors: {
  custom: {
    50: '#de8ff2',
    500: '#cb5aeb',
    950: '#000000',
  },
}
SCSS
$custom: #cb5aeb;
$custom-light: #de8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5aeb",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 286.759,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66647,
    "c": 0.22534,
    "h": 318.1
  },
  "luminance": 0.26007
}

Semantic roles & 50–950 ramp

primary
#CB5AEB
secondary
#C2EAB7
accent
#DB0B39
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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