#CB8EDA#CB8EDA

#CB8EDA is a light, vivid purple. Relative luminance 0.371; OKLCH L 73.3% C 0.125 H 319.6°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#CB8EDA
RGBrgb(203, 142, 218)
HSLhsl(288, 51%, 71%)
HSVhsv(288, 35%, 85%)
CMYKcmyk(6.9%, 34.9%, 0%, 14.5%)
CIE-LABlab(67.36, 35.97, -29.72)
CIE-LCHlch(67.36, 46.66, 320.43°)
OKLaboklab(73.3% 0.0954 -0.0813)
OKLCHoklch(73.3% 0.125 319.6)
XYZxyz(46.9548, 37.1058, 71.0047)
Luminance0.3710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8EDA #9DDA8E
analogous
#A58EDA #CB8EDA #DA8EC3
triadic
#CB8EDA #DACB8E #8EDACB
tetradic
#CB8EDA #DAA58E #9DDA8E #8EC3DA
square
#CB8EDA #DAA58E #9DDA8E #8EC3DA
split-complementary
#CB8EDA #C3DA8E #8EDAA5
monochromatic
#9B3BB3 #B660CB #CB8EDA #E0BCE9 #F4E8F7

Accessibility & contrast

On white

2.49
#CB8EDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#CB8EDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8EDA
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8EDA#FFFFFF#000000##000000
##CB8EDA1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A0DD
Deuteranopia (green-blind)
#93A6D8
Tritanopia (blue-blind)
#CC97AA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cb8eda;
/* rgb */ color: rgb(203, 142, 218);
/* oklch */ color: oklch(73.3% 0.125 319.6);
Tailwind
colors: {
  custom: {
    50: '#dcb0e5',
    500: '#cb8eda',
    950: '#000000',
  },
}
SCSS
$custom: #cb8eda;
$custom-light: #dcb0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8eda",
  "rgb": {
    "r": 203,
    "g": 142,
    "b": 218
  },
  "hsl": {
    "h": 288.158,
    "s": 50.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73297,
    "c": 0.12531,
    "h": 319.6
  },
  "luminance": 0.37104
}

Semantic roles & 50–950 ramp

primary
#CB8EDA
secondary
#DCECD8
accent
#BE2745
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB8EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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