#CB8AEA#CB8AEA

#CB8AEA is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.3% C 0.150 H 314.2°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#CB8AEA
RGBrgb(203, 138, 234)
HSLhsl(281, 70%, 73%)
HSVhsv(281, 41%, 92%)
CMYKcmyk(13.2%, 41%, 0%, 8.2%)
CIE-LABlab(67.14, 41.38, -38.90)
CIE-LCHlch(67.14, 56.79, 316.77°)
OKLaboklab(73.35% 0.1046 -0.1075)
OKLCHoklch(73.35% 0.15 314.2)
XYZxyz(48.5660, 36.8151, 82.3736)
Luminance0.3681 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8AEA #A9EA8A
analogous
#9B8AEA #CB8AEA #EA8AD9
triadic
#CB8AEA #EACB8A #8AEACB
tetradic
#CB8AEA #EA9B8A #A9EA8A #8AD9EA
square
#CB8AEA #EA9B8A #A9EA8A #8AD9EA
split-complementary
#CB8AEA #D9EA8A #8AEA9B
monochromatic
#9C26D4 #B456E1 #CB8AEA #E2BEF3 #F3E5FA

Accessibility & contrast

On white

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

On black

8.36
#CB8AEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8AEA
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8AEA#FFFFFF#000000##000000
##CB8AEA1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0EE
Deuteranopia (green-blind)
#89A5E7
Tritanopia (blue-blind)
#C997AF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cb8aea;
/* rgb */ color: rgb(203, 138, 234);
/* oklch */ color: oklch(73.3% 0.150 314.2);
Tailwind
colors: {
  custom: {
    50: '#dcadf1',
    500: '#cb8aea',
    950: '#000000',
  },
}
SCSS
$custom: #cb8aea;
$custom-light: #dcadf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8aea",
  "rgb": {
    "r": 203,
    "g": 138,
    "b": 234
  },
  "hsl": {
    "h": 280.625,
    "s": 69.565,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73349,
    "c": 0.14999,
    "h": 314.2
  },
  "luminance": 0.36814
}

Semantic roles & 50–950 ramp

primary
#CB8AEA
secondary
#E1F2D9
accent
#D21451
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB8AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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