#CB8EEB#CB8EEB

#CB8EEB is a light, vivid violet. Relative luminance 0.380; OKLCH L 74.1% C 0.144 H 313.3°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#CB8EEB
RGBrgb(203, 142, 235)
HSLhsl(279, 70%, 74%)
HSVhsv(279, 40%, 92%)
CMYKcmyk(13.6%, 39.6%, 0%, 7.8%)
CIE-LABlab(68.05, 39.43, -38.02)
CIE-LCHlch(68.05, 54.78, 316.04°)
OKLaboklab(74.05% 0.0991 -0.105)
OKLCHoklch(74.05% 0.144 313.3)
XYZxyz(49.2945, 38.0417, 83.3271)
Luminance0.3804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8EEB #AEEB8E
analogous
#9D8EEB #CB8EEB #EB8EDD
triadic
#CB8EEB #EBCB8E #8EEBCB
tetradic
#CB8EEB #EB9D8E #AEEB8E #8EDDEB
square
#CB8EEB #EB9D8E #AEEB8E #8EDDEB
split-complementary
#CB8EEB #DDEB8E #8EEB9D
monochromatic
#9B26D8 #B35AE2 #CB8EEB #E3C2F4 #F3E5FA

Accessibility & contrast

On white

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

On black

8.61
#CB8EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8EEB
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8EEB#FFFFFF#000000##000000
##CB8EEB1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA2EE
Deuteranopia (green-blind)
#8CA7E8
Tritanopia (blue-blind)
#C89BB1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cb8eeb;
/* rgb */ color: rgb(203, 142, 235);
/* oklch */ color: oklch(74.1% 0.144 313.3);
Tailwind
colors: {
  custom: {
    50: '#dcb0f1',
    500: '#cb8eeb',
    950: '#000000',
  },
}
SCSS
$custom: #cb8eeb;
$custom-light: #dcb0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8eeb",
  "rgb": {
    "r": 203,
    "g": 142,
    "b": 235
  },
  "hsl": {
    "h": 279.355,
    "s": 69.925,
    "l": 73.922
  },
  "oklch": {
    "l": 0.7405,
    "c": 0.1444,
    "h": 313.3
  },
  "luminance": 0.38041
}

Semantic roles & 50–950 ramp

primary
#CB8EEB
secondary
#E2F2D9
accent
#D21455
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #CB8EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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