#CB8BDE#CB8BDE

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

Color values

HEX#CB8BDE
RGBrgb(203, 139, 222)
HSLhsl(286, 56%, 71%)
HSVhsv(286, 37%, 87%)
CMYKcmyk(8.6%, 37.4%, 0%, 12.9%)
CIE-LABlab(66.85, 38.39, -32.71)
CIE-LCHlch(66.85, 50.44, 319.56°)
OKLaboklab(72.97% 0.1007 -0.0898)
OKLCHoklch(72.97% 0.135 318.3)
XYZxyz(47.0442, 36.4370, 73.6479)
Luminance0.3644 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8BDE #9EDE8B
analogous
#A18BDE #CB8BDE #DE8BC7
triadic
#CB8BDE #DECB8B #8BDECB
tetradic
#CB8BDE #DEA18B #9EDE8B #8BC7DE
square
#CB8BDE #DEA18B #9EDE8B #8BC7DE
split-complementary
#CB8BDE #C7DE8B #8BDEA1
monochromatic
#9B35BA #B65BD0 #CB8BDE #E0BBEC #F4E7F8

Accessibility & contrast

On white

2.53
#CB8BDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#CB8BDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8BDE
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8BDE#FFFFFF#000000##000000
##CB8BDE1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9EE1
Deuteranopia (green-blind)
#8FA5DB
Tritanopia (blue-blind)
#CB95AA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cb8bde;
/* rgb */ color: rgb(203, 139, 222);
/* oklch */ color: oklch(73.0% 0.135 318.3);
Tailwind
colors: {
  custom: {
    50: '#dcaee8',
    500: '#cb8bde',
    950: '#000000',
  },
}
SCSS
$custom: #cb8bde;
$custom-light: #dcaee8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8bde",
  "rgb": {
    "r": 203,
    "g": 139,
    "b": 222
  },
  "hsl": {
    "h": 286.265,
    "s": 55.705,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72968,
    "c": 0.13492,
    "h": 318.3
  },
  "luminance": 0.36436
}

Semantic roles & 50–950 ramp

primary
#CB8BDE
secondary
#DCEED7
accent
#C32247
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB8BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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