#CB5AEF#CB5AEF

#CB5AEF is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.9% C 0.229 H 317.1°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#CB5AEF
RGBrgb(203, 90, 239)
HSLhsl(286, 82%, 65%)
HSVhsv(286, 62%, 94%)
CMYKcmyk(15.1%, 62.3%, 0%, 6.3%)
CIE-LABlab(58.27, 66.27, -55.67)
CIE-LCHlch(58.27, 86.55, 319.97°)
OKLaboklab(66.88% 0.1678 -0.1559)
OKLCHoklch(66.88% 0.229 317.1)
XYZxyz(43.8625, 26.2425, 84.3994)
Luminance0.2624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5AEF #7EEF5A
analogous
#815AEF #CB5AEF #EF5AC9
triadic
#CB5AEF #EFCB5A #5AEFCB
tetradic
#CB5AEF #EF815A #7EEF5A #5AC9EF
square
#CB5AEF #EF815A #7EEF5A #5AC9EF
split-complementary
#CB5AEF #C9EF5A #5AEF81
monochromatic
#9312BC #B922EA #CB5AEF #DD92F4 #EECAFA

Accessibility & contrast

On white

3.36
#CB5AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#CB5AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5AEF
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5AEF#FFFFFF#000000##000000
##CB5AEF1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2985F4
Deuteranopia (green-blind)
#5D90EB
Tritanopia (blue-blind)
#CA749D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cb5aef;
/* rgb */ color: rgb(203, 90, 239);
/* oklch */ color: oklch(66.9% 0.229 317.1);
Tailwind
colors: {
  custom: {
    50: '#de8ff5',
    500: '#cb5aef',
    950: '#000000',
  },
}
SCSS
$custom: #cb5aef;
$custom-light: #de8ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5aef",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 285.503,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66879,
    "c": 0.22904,
    "h": 317.1
  },
  "luminance": 0.26241
}

Semantic roles & 50–950 ramp

primary
#CB5AEF
secondary
#C5ECB9
accent
#DF073B
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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