#CB8EDE#CB8EDE

#CB8EDE is a light, vivid purple. Relative luminance 0.373; OKLCH L 73.5% C 0.130 H 317.9°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#CB8EDE
RGBrgb(203, 142, 222)
HSLhsl(286, 55%, 71%)
HSVhsv(286, 36%, 87%)
CMYKcmyk(8.6%, 36%, 0%, 12.9%)
CIE-LABlab(67.51, 36.76, -31.69)
CIE-LCHlch(67.51, 48.54, 319.24°)
OKLaboklab(73.47% 0.0963 -0.0869)
OKLCHoklch(73.47% 0.13 317.9)
XYZxyz(47.4846, 37.3177, 73.7947)
Luminance0.3732 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8EDE #A1DE8E
analogous
#A38EDE #CB8EDE #DE8EC9
triadic
#CB8EDE #DECB8E #8EDECB
tetradic
#CB8EDE #DEA38E #A1DE8E #8EC9DE
square
#CB8EDE #DEA38E #A1DE8E #8EC9DE
split-complementary
#CB8EDE #C9DE8E #8EDEA3
monochromatic
#9C37BB #B55FD0 #CB8EDE #E1BDEC #F4E7F8

Accessibility & contrast

On white

2.48
#CB8EDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#CB8EDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8EDE
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8EDE#FFFFFF#000000##000000
##CB8EDE1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A0E1
Deuteranopia (green-blind)
#92A6DC
Tritanopia (blue-blind)
#CB98AC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cb8ede;
/* rgb */ color: rgb(203, 142, 222);
/* oklch */ color: oklch(73.5% 0.130 317.9);
Tailwind
colors: {
  custom: {
    50: '#dcb0e8',
    500: '#cb8ede',
    950: '#000000',
  },
}
SCSS
$custom: #cb8ede;
$custom-light: #dcb0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8ede",
  "rgb": {
    "r": 203,
    "g": 142,
    "b": 222
  },
  "hsl": {
    "h": 285.75,
    "s": 54.795,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73469,
    "c": 0.12972,
    "h": 317.9
  },
  "luminance": 0.37316
}

Semantic roles & 50–950 ramp

primary
#CB8EDE
secondary
#DEEEDA
accent
#C22349
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB8EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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