#CB5AEC#CB5AEC

#CB5AEC is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.7% C 0.226 H 317.9°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#CB5AEC
RGBrgb(203, 90, 236)
HSLhsl(286, 79%, 64%)
HSVhsv(286, 62%, 93%)
CMYKcmyk(14%, 61.9%, 0%, 7.5%)
CIE-LABlab(58.10, 65.69, -54.27)
CIE-LCHlch(58.10, 85.21, 320.44°)
OKLaboklab(66.71% 0.1678 -0.1518)
OKLCHoklch(66.71% 0.226 317.9)
XYZxyz(43.4230, 26.0667, 82.0847)
Luminance0.2606 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5AEC #7BEC5A
analogous
#825AEC #CB5AEC #EC5AC4
triadic
#CB5AEC #ECCB5A #5AECCB
tetradic
#CB5AEC #EC825A #7BEC5A #5AC4EC
square
#CB5AEC #EC825A #7BEC5A #5AC4EC
split-complementary
#CB5AEC #C4EC5A #5AEC82
monochromatic
#9215B7 #BA23E6 #CB5AEC #DC91F2 #EEC8F9

Accessibility & contrast

On white

3.38
#CB5AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#CB5AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5AEC
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5AEC#FFFFFF#000000##000000
##CB5AEC1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D84F0
Deuteranopia (green-blind)
#608FE8
Tritanopia (blue-blind)
#CA739B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cb5aec;
/* rgb */ color: rgb(203, 90, 236);
/* oklch */ color: oklch(66.7% 0.226 317.9);
Tailwind
colors: {
  custom: {
    50: '#de8ff3',
    500: '#cb5aec',
    950: '#000000',
  },
}
SCSS
$custom: #cb5aec;
$custom-light: #de8ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5aec",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 286.438,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66705,
    "c": 0.22627,
    "h": 317.9
  },
  "luminance": 0.26065
}

Semantic roles & 50–950 ramp

primary
#CB5AEC
secondary
#C3EBB7
accent
#DC0A39
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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