#CB8DDD#CB8DDD

#CB8DDD is a light, vivid purple. Relative luminance 0.370; OKLCH L 73.3% C 0.130 H 318.4°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#CB8DDD
RGBrgb(203, 141, 221)
HSLhsl(287, 54%, 71%)
HSVhsv(287, 36%, 87%)
CMYKcmyk(8.1%, 36.2%, 0%, 13.3%)
CIE-LABlab(67.25, 37.11, -31.54)
CIE-LCHlch(67.25, 48.70, 319.64°)
OKLaboklab(73.26% 0.0975 -0.0865)
OKLCHoklch(73.26% 0.13 318.4)
XYZxyz(47.2028, 36.9680, 73.0416)
Luminance0.3697 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8DDD #9FDD8D
analogous
#A38DDD #CB8DDD #DD8DC7
triadic
#CB8DDD #DDCB8D #8DDDCB
tetradic
#CB8DDD #DDA38D #9FDD8D #8DC7DD
square
#CB8DDD #DDA38D #9FDD8D #8DC7DD
split-complementary
#CB8DDD #C7DD8D #8DDDA3
monochromatic
#9B37B9 #B55ECF #CB8DDD #E1BCEB #F4E7F8

Accessibility & contrast

On white

2.50
#CB8DDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#CB8DDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8DDD
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8DDD#FFFFFF#000000##000000
##CB8DDD1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A0E0
Deuteranopia (green-blind)
#91A6DB
Tritanopia (blue-blind)
#CB97AB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cb8ddd;
/* rgb */ color: rgb(203, 141, 221);
/* oklch */ color: oklch(73.3% 0.130 318.4);
Tailwind
colors: {
  custom: {
    50: '#dcafe7',
    500: '#cb8ddd',
    950: '#000000',
  },
}
SCSS
$custom: #cb8ddd;
$custom-light: #dcafe7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8ddd",
  "rgb": {
    "r": 203,
    "g": 141,
    "b": 221
  },
  "hsl": {
    "h": 286.5,
    "s": 54.054,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73258,
    "c": 0.13035,
    "h": 318.4
  },
  "luminance": 0.36967
}

Semantic roles & 50–950 ramp

primary
#CB8DDD
secondary
#DDEED8
accent
#C22447
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB8DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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