#CB5AF0#CB5AF0

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

Color values

HEX#CB5AF0
RGBrgb(203, 90, 240)
HSLhsl(285, 83%, 65%)
HSVhsv(285, 63%, 94%)
CMYKcmyk(15.4%, 62.5%, 0%, 5.9%)
CIE-LABlab(58.32, 66.47, -56.14)
CIE-LCHlch(58.32, 87.00, 319.81°)
OKLaboklab(66.94% 0.1678 -0.1573)
OKLCHoklch(66.94% 0.23 316.9)
XYZxyz(44.0106, 26.3018, 85.1796)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5AF0 #7FF05A
analogous
#805AF0 #CB5AF0 #F05ACA
triadic
#CB5AF0 #F0CB5A #5AF0CB
tetradic
#CB5AF0 #F0805A #7FF05A #5ACAF0
square
#CB5AF0 #F0805A #7FF05A #5ACAF0
split-complementary
#CB5AF0 #CAF05A #5AF080
monochromatic
#9411BE #B922EB #CB5AF0 #DD92F5 #EECAFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB5AF0#FFFFFF#000000##000000
##CB5AF01.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)
#2785F5
Deuteranopia (green-blind)
#5D90EC
Tritanopia (blue-blind)
#C9759D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cb5af0;
/* rgb */ color: rgb(203, 90, 240);
/* oklch */ color: oklch(66.9% 0.230 316.9);
Tailwind
colors: {
  custom: {
    50: '#de8ff6',
    500: '#cb5af0',
    950: '#000000',
  },
}
SCSS
$custom: #cb5af0;
$custom-light: #de8ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5af0",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 240
  },
  "hsl": {
    "h": 285.2,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.66937,
    "c": 0.22997,
    "h": 316.9
  },
  "luminance": 0.263
}

Semantic roles & 50–950 ramp

primary
#CB5AF0
secondary
#C6EDB9
accent
#E0063C
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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