#CB8AEB#CB8AEB

#CB8AEB is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.4% C 0.151 H 313.9°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#CB8AEB
RGBrgb(203, 138, 235)
HSLhsl(280, 71%, 73%)
HSVhsv(280, 41%, 92%)
CMYKcmyk(13.6%, 41.3%, 0%, 7.8%)
CIE-LABlab(67.18, 41.59, -39.38)
CIE-LCHlch(67.18, 57.27, 316.56°)
OKLaboklab(73.4% 0.1048 -0.1089)
OKLCHoklch(73.4% 0.151 313.9)
XYZxyz(48.7100, 36.8727, 83.1323)
Luminance0.3687 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8AEB #AAEB8A
analogous
#9A8AEB #CB8AEB #EB8ADA
triadic
#CB8AEB #EBCB8A #8AEBCB
tetradic
#CB8AEB #EB9A8A #AAEB8A #8ADAEB
square
#CB8AEB #EB9A8A #AAEB8A #8ADAEB
split-complementary
#CB8AEB #DAEB8A #8AEB9A
monochromatic
#9B25D6 #B456E2 #CB8AEB #E2BEF4 #F3E5FB

Accessibility & contrast

On white

2.51
#CB8AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#CB8AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8AEB
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8AEB#FFFFFF#000000##000000
##CB8AEB1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A0EF
Deuteranopia (green-blind)
#89A5E8
Tritanopia (blue-blind)
#C998AF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cb8aeb;
/* rgb */ color: rgb(203, 138, 235);
/* oklch */ color: oklch(73.4% 0.151 313.9);
Tailwind
colors: {
  custom: {
    50: '#dcadf2',
    500: '#cb8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #cb8aeb;
$custom-light: #dcadf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8aeb",
  "rgb": {
    "r": 203,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 280.206,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73395,
    "c": 0.15112,
    "h": 313.9
  },
  "luminance": 0.36872
}

Semantic roles & 50–950 ramp

primary
#CB8AEB
secondary
#E1F2D9
accent
#D31352
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CB8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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