#CB8EEA#CB8EEA

#CB8EEA is a light, vivid violet. Relative luminance 0.380; OKLCH L 74.0% C 0.143 H 313.7°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#CB8EEA
RGBrgb(203, 142, 234)
HSLhsl(280, 69%, 74%)
HSVhsv(280, 39%, 92%)
CMYKcmyk(13.2%, 39.3%, 0%, 8.2%)
CIE-LABlab(68.01, 39.22, -37.54)
CIE-LCHlch(68.01, 54.29, 316.26°)
OKLaboklab(74% 0.0989 -0.1036)
OKLCHoklch(74% 0.143 313.7)
XYZxyz(49.1505, 37.9840, 82.5684)
Luminance0.3798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8EEA #ADEA8E
analogous
#9D8EEA #CB8EEA #EA8EDB
triadic
#CB8EEA #EACB8E #8EEACB
tetradic
#CB8EEA #EA9D8E #ADEA8E #8EDBEA
square
#CB8EEA #EA9D8E #ADEA8E #8EDBEA
split-complementary
#CB8EEA #DBEA8E #8EEA9D
monochromatic
#9B28D6 #B35AE0 #CB8EEA #E3C2F4 #F3E5FA

Accessibility & contrast

On white

2.44
#CB8EEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#CB8EEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8EEA
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8EEA#FFFFFF#000000##000000
##CB8EEA1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA2ED
Deuteranopia (green-blind)
#8DA7E7
Tritanopia (blue-blind)
#C99BB1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cb8eea;
/* rgb */ color: rgb(203, 142, 234);
/* oklch */ color: oklch(74.0% 0.143 313.7);
Tailwind
colors: {
  custom: {
    50: '#dcb0f1',
    500: '#cb8eea',
    950: '#000000',
  },
}
SCSS
$custom: #cb8eea;
$custom-light: #dcb0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8eea",
  "rgb": {
    "r": 203,
    "g": 142,
    "b": 234
  },
  "hsl": {
    "h": 279.783,
    "s": 68.657,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74004,
    "c": 0.14325,
    "h": 313.7
  },
  "luminance": 0.37983
}

Semantic roles & 50–950 ramp

primary
#CB8EEA
secondary
#E2F2D9
accent
#D11554
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB8EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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