#CB8EE2#CB8EE2

#CB8EE2 is a light, vivid purple. Relative luminance 0.375; OKLCH L 73.6% C 0.134 H 316.4°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#CB8EE2
RGBrgb(203, 142, 226)
HSLhsl(284, 59%, 72%)
HSVhsv(284, 37%, 89%)
CMYKcmyk(10.2%, 37.2%, 0%, 11.4%)
CIE-LABlab(67.68, 37.57, -33.65)
CIE-LCHlch(67.68, 50.44, 318.15°)
OKLaboklab(73.64% 0.0972 -0.0925)
OKLCHoklch(73.64% 0.134 316.4)
XYZxyz(48.0270, 37.5347, 76.6517)
Luminance0.3753 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8EE2 #A5E28E
analogous
#A18EE2 #CB8EE2 #E28ECF
triadic
#CB8EE2 #E2CB8E #8EE2CB
tetradic
#CB8EE2 #E2A18E #A5E28E #8ECFE2
square
#CB8EE2 #E2A18E #A5E28E #8ECFE2
split-complementary
#CB8EE2 #CFE28E #8EE2A1
monochromatic
#9C32C3 #B55DD6 #CB8EE2 #E1BFEE #F4E7F9

Accessibility & contrast

On white

2.47
#CB8EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#CB8EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8EE2
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8EE2#FFFFFF#000000##000000
##CB8EE21.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A1E5
Deuteranopia (green-blind)
#90A7DF
Tritanopia (blue-blind)
#CA99AE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cb8ee2;
/* rgb */ color: rgb(203, 142, 226);
/* oklch */ color: oklch(73.6% 0.134 316.4);
Tailwind
colors: {
  custom: {
    50: '#dcb0eb',
    500: '#cb8ee2',
    950: '#000000',
  },
}
SCSS
$custom: #cb8ee2;
$custom-light: #dcb0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8ee2",
  "rgb": {
    "r": 203,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 283.571,
    "s": 59.155,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73644,
    "c": 0.13418,
    "h": 316.4
  },
  "luminance": 0.37533
}

Semantic roles & 50–950 ramp

primary
#CB8EE2
secondary
#E1F0DB
accent
#C71F4D
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB8EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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