#CB8EEE#CB8EEE

#CB8EEE is a light, vivid violet. Relative luminance 0.382; OKLCH L 74.2% C 0.148 H 312.4°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#CB8EEE
RGBrgb(203, 142, 238)
HSLhsl(278, 74%, 75%)
HSVhsv(278, 40%, 93%)
CMYKcmyk(14.7%, 40.3%, 0%, 6.7%)
CIE-LABlab(68.18, 40.06, -39.47)
CIE-LCHlch(68.18, 56.24, 315.42°)
OKLaboklab(74.19% 0.0997 -0.1092)
OKLCHoklch(74.19% 0.148 312.4)
XYZxyz(49.7316, 38.2165, 85.6290)
Luminance0.3822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8EEE #B1EE8E
analogous
#9B8EEE #CB8EEE #EE8EE1
triadic
#CB8EEE #EECB8E #8EEECB
tetradic
#CB8EEE #EE9B8E #B1EE8E #8EE1EE
square
#CB8EEE #EE9B8E #B1EE8E #8EE1EE
split-complementary
#CB8EEE #E1EE8E #8EEE9B
monochromatic
#9A24DE #B359E6 #CB8EEE #E3C3F6 #F3E4FB

Accessibility & contrast

On white

2.43
#CB8EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#CB8EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8EEE
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8EEE#FFFFFF#000000##000000
##CB8EEE1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F2
Deuteranopia (green-blind)
#8BA8EB
Tritanopia (blue-blind)
#C89CB3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cb8eee;
/* rgb */ color: rgb(203, 142, 238);
/* oklch */ color: oklch(74.2% 0.148 312.4);
Tailwind
colors: {
  custom: {
    50: '#dcb0f4',
    500: '#cb8eee',
    950: '#000000',
  },
}
SCSS
$custom: #cb8eee;
$custom-light: #dcb0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8eee",
  "rgb": {
    "r": 203,
    "g": 142,
    "b": 238
  },
  "hsl": {
    "h": 278.125,
    "s": 73.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74189,
    "c": 0.14785,
    "h": 312.4
  },
  "luminance": 0.38216
}

Semantic roles & 50–950 ramp

primary
#CB8EEE
secondary
#E2F3D8
accent
#D61058
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #CB8EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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