#CB8AE2#CB8AE2

#CB8AE2 is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.0% C 0.141 H 316.9°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#CB8AE2
RGBrgb(203, 138, 226)
HSLhsl(284, 60%, 71%)
HSVhsv(284, 39%, 89%)
CMYKcmyk(10.2%, 38.9%, 0%, 11.4%)
CIE-LABlab(66.80, 39.74, -35.01)
CIE-LCHlch(66.80, 52.96, 318.62°)
OKLaboklab(72.98% 0.103 -0.0964)
OKLCHoklch(72.98% 0.141 316.9)
XYZxyz(47.4426, 36.3657, 76.4569)
Luminance0.3636 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8AE2 #A1E28A
analogous
#9F8AE2 #CB8AE2 #E28ACD
triadic
#CB8AE2 #E2CB8A #8AE2CB
tetradic
#CB8AE2 #E29F8A #A1E28A #8ACDE2
square
#CB8AE2 #E29F8A #A1E28A #8ACDE2
split-complementary
#CB8AE2 #CDE28A #8AE29F
monochromatic
#9C30C2 #B559D6 #CB8AE2 #E1BBEE #F4E6F9

Accessibility & contrast

On white

2.54
#CB8AE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#CB8AE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8AE2
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8AE2#FFFFFF#000000##000000
##CB8AE21.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9EE5
Deuteranopia (green-blind)
#8DA5DF
Tritanopia (blue-blind)
#CB95AB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cb8ae2;
/* rgb */ color: rgb(203, 138, 226);
/* oklch */ color: oklch(73.0% 0.141 316.9);
Tailwind
colors: {
  custom: {
    50: '#dcadeb',
    500: '#cb8ae2',
    950: '#000000',
  },
}
SCSS
$custom: #cb8ae2;
$custom-light: #dcadeb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8ae2",
  "rgb": {
    "r": 203,
    "g": 138,
    "b": 226
  },
  "hsl": {
    "h": 284.318,
    "s": 60.274,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72982,
    "c": 0.14105,
    "h": 316.9
  },
  "luminance": 0.36364
}

Semantic roles & 50–950 ramp

primary
#CB8AE2
secondary
#DEEFD8
accent
#C81E4A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB8AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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