#CB5AED#CB5AED

#CB5AED is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.8% C 0.227 H 317.6°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#CB5AED
RGBrgb(203, 90, 237)
HSLhsl(286, 80%, 64%)
HSVhsv(286, 62%, 93%)
CMYKcmyk(14.3%, 62%, 0%, 7.1%)
CIE-LABlab(58.16, 65.89, -54.74)
CIE-LCHlch(58.16, 85.66, 320.28°)
OKLaboklab(66.76% 0.1678 -0.1532)
OKLCHoklch(66.76% 0.227 317.6)
XYZxyz(43.5687, 26.1250, 82.8520)
Luminance0.2612 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5AED #7CED5A
analogous
#825AED #CB5AED #ED5AC6
triadic
#CB5AED #EDCB5A #5AEDCB
tetradic
#CB5AED #ED825A #7CED5A #5AC6ED
square
#CB5AED #ED825A #7CED5A #5AC6ED
split-complementary
#CB5AED #C6ED5A #5AED82
monochromatic
#9214B8 #BA23E7 #CB5AED #DC91F3 #EEC8F9

Accessibility & contrast

On white

3.37
#CB5AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#CB5AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5AED
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5AED#FFFFFF#000000##000000
##CB5AED1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C85F1
Deuteranopia (green-blind)
#5F8FE9
Tritanopia (blue-blind)
#CA749C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cb5aed;
/* rgb */ color: rgb(203, 90, 237);
/* oklch */ color: oklch(66.8% 0.227 317.6);
Tailwind
colors: {
  custom: {
    50: '#de8ff3',
    500: '#cb5aed',
    950: '#000000',
  },
}
SCSS
$custom: #cb5aed;
$custom-light: #de8ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5aed",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 237
  },
  "hsl": {
    "h": 286.122,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66763,
    "c": 0.22719,
    "h": 317.6
  },
  "luminance": 0.26123
}

Semantic roles & 50–950 ramp

primary
#CB5AED
secondary
#C4EBB8
accent
#DD093A
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5AED

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

Preview Lab → · Contrast checker → · Palette generator →

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