#CB5AEA#CB5AEA

#CB5AEA is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.6% C 0.224 H 318.4°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#CB5AEA
RGBrgb(203, 90, 234)
HSLhsl(287, 77%, 64%)
HSVhsv(287, 62%, 92%)
CMYKcmyk(13.2%, 61.5%, 0%, 8.2%)
CIE-LABlab(57.99, 65.31, -53.32)
CIE-LCHlch(57.99, 84.31, 320.77°)
OKLaboklab(66.59% 0.1678 -0.149)
OKLCHoklch(66.59% 0.224 318.4)
XYZxyz(43.1340, 25.9512, 80.5629)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5AEA #79EA5A
analogous
#835AEA #CB5AEA #EA5AC1
triadic
#CB5AEA #EACB5A #5AEACB
tetradic
#CB5AEA #EA835A #79EA5A #5AC1EA
square
#CB5AEA #EA835A #79EA5A #5AC1EA
split-complementary
#CB5AEA #C1EA5A #5AEA83
monochromatic
#9117B3 #BA24E3 #CB5AEA #DC90F1 #EDC7F8

Accessibility & contrast

On white

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

On black

6.19
#CB5AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5AEA
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5AEA#FFFFFF#000000##000000
##CB5AEA1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3084EE
Deuteranopia (green-blind)
#618FE6
Tritanopia (blue-blind)
#CB729A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cb5aea;
/* rgb */ color: rgb(203, 90, 234);
/* oklch */ color: oklch(66.6% 0.224 318.4);
Tailwind
colors: {
  custom: {
    50: '#de8ff1',
    500: '#cb5aea',
    950: '#000000',
  },
}
SCSS
$custom: #cb5aea;
$custom-light: #de8ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5aea",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 234
  },
  "hsl": {
    "h": 287.083,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6659,
    "c": 0.22442,
    "h": 318.4
  },
  "luminance": 0.25949
}

Semantic roles & 50–950 ramp

primary
#CB5AEA
secondary
#C1E9B6
accent
#DA0C38
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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