#CB5AEE#CB5AEE

#CB5AEE is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.8% C 0.228 H 317.4°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#CB5AEE
RGBrgb(203, 90, 238)
HSLhsl(286, 81%, 64%)
HSVhsv(286, 62%, 93%)
CMYKcmyk(14.7%, 62.2%, 0%, 6.7%)
CIE-LABlab(58.21, 66.08, -55.21)
CIE-LCHlch(58.21, 86.10, 320.12°)
OKLaboklab(66.82% 0.1678 -0.1545)
OKLCHoklch(66.82% 0.228 317.4)
XYZxyz(43.7152, 26.1836, 83.6236)
Luminance0.2618 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5AEE #7DEE5A
analogous
#815AEE #CB5AEE #EE5AC7
triadic
#CB5AEE #EECB5A #5AEECB
tetradic
#CB5AEE #EE815A #7DEE5A #5AC7EE
square
#CB5AEE #EE815A #7DEE5A #5AC7EE
split-complementary
#CB5AEE #C7EE5A #5AEE81
monochromatic
#9313BA #BA23E8 #CB5AEE #DC91F4 #EEC9F9

Accessibility & contrast

On white

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

On black

6.24
#CB5AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5AEE
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5AEE#FFFFFF#000000##000000
##CB5AEE1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb5aee;
/* rgb */ color: rgb(203, 90, 238);
/* oklch */ color: oklch(66.8% 0.228 317.4);
Tailwind
colors: {
  custom: {
    50: '#de8ff4',
    500: '#cb5aee',
    950: '#000000',
  },
}
SCSS
$custom: #cb5aee;
$custom-light: #de8ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5aee",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 238
  },
  "hsl": {
    "h": 285.811,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66821,
    "c": 0.22811,
    "h": 317.4
  },
  "luminance": 0.26182
}

Semantic roles & 50–950 ramp

primary
#CB5AEE
secondary
#C4ECB8
accent
#DE083A
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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