#CB8BDF#CB8BDF

#CB8BDF is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.0% C 0.136 H 317.9°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#CB8BDF
RGBrgb(203, 139, 223)
HSLhsl(286, 57%, 71%)
HSVhsv(286, 38%, 87%)
CMYKcmyk(9%, 37.7%, 0%, 12.5%)
CIE-LABlab(66.89, 38.59, -33.20)
CIE-LCHlch(66.89, 50.91, 319.29°)
OKLaboklab(73.01% 0.1009 -0.0912)
OKLCHoklch(73.01% 0.136 317.9)
XYZxyz(47.1786, 36.4907, 74.3559)
Luminance0.3649 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8BDF #9FDF8B
analogous
#A18BDF #CB8BDF #DF8BC9
triadic
#CB8BDF #DFCB8B #8BDFCB
tetradic
#CB8BDF #DFA18B #9FDF8B #8BC9DF
square
#CB8BDF #DFA18B #9FDF8B #8BC9DF
split-complementary
#CB8BDF #C9DF8B #8BDFA1
monochromatic
#9B34BC #B55BD2 #CB8BDF #E1BBEC #F4E7F8

Accessibility & contrast

On white

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

On black

8.30
#CB8BDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8BDF
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8BDF#FFFFFF#000000##000000
##CB8BDF1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9FE2
Deuteranopia (green-blind)
#8FA5DC
Tritanopia (blue-blind)
#CB95AB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cb8bdf;
/* rgb */ color: rgb(203, 139, 223);
/* oklch */ color: oklch(73.0% 0.136 317.9);
Tailwind
colors: {
  custom: {
    50: '#dcaee9',
    500: '#cb8bdf',
    950: '#000000',
  },
}
SCSS
$custom: #cb8bdf;
$custom-light: #dcaee9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8bdf",
  "rgb": {
    "r": 203,
    "g": 139,
    "b": 223
  },
  "hsl": {
    "h": 285.714,
    "s": 56.757,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73012,
    "c": 0.13602,
    "h": 317.9
  },
  "luminance": 0.36489
}

Semantic roles & 50–950 ramp

primary
#CB8BDF
secondary
#DDEED8
accent
#C42148
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB8BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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