#CB8EDD#CB8EDD

#CB8EDD is a light, vivid purple. Relative luminance 0.373; OKLCH L 73.4% C 0.129 H 318.3°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#CB8EDD
RGBrgb(203, 142, 221)
HSLhsl(286, 54%, 71%)
HSVhsv(286, 36%, 87%)
CMYKcmyk(8.1%, 35.7%, 0%, 13.3%)
CIE-LABlab(67.47, 36.56, -31.20)
CIE-LCHlch(67.47, 48.06, 319.53°)
OKLaboklab(73.43% 0.0961 -0.0855)
OKLCHoklch(73.43% 0.129 318.3)
XYZxyz(47.3510, 37.2642, 73.0910)
Luminance0.3726 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8EDD #A0DD8E
analogous
#A38EDD #CB8EDD #DD8EC7
triadic
#CB8EDD #DDCB8E #8EDDCB
tetradic
#CB8EDD #DDA38E #A0DD8E #8EC7DD
square
#CB8EDD #DDA38E #A0DD8E #8EC7DD
split-complementary
#CB8EDD #C7DD8E #8EDDA3
monochromatic
#9B38B9 #B55FCF #CB8EDD #E1BDEB #F4E7F8

Accessibility & contrast

On white

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

On black

8.45
#CB8EDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8EDD
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8EDD#FFFFFF#000000##000000
##CB8EDD1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb8edd;
/* rgb */ color: rgb(203, 142, 221);
/* oklch */ color: oklch(73.4% 0.129 318.3);
Tailwind
colors: {
  custom: {
    50: '#dcb0e7',
    500: '#cb8edd',
    950: '#000000',
  },
}
SCSS
$custom: #cb8edd;
$custom-light: #dcb0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8edd",
  "rgb": {
    "r": 203,
    "g": 142,
    "b": 221
  },
  "hsl": {
    "h": 286.329,
    "s": 53.741,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73425,
    "c": 0.12861,
    "h": 318.3
  },
  "luminance": 0.37263
}

Semantic roles & 50–950 ramp

primary
#CB8EDD
secondary
#DEEED9
accent
#C12448
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB8EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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