#CB9EE8#CB9EE8

#CB9EE8 is a light, moderate violet. Relative luminance 0.430; OKLCH L 76.7% C 0.114 H 311.6°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#CB9EE8
RGBrgb(203, 158, 232)
HSLhsl(276, 62%, 76%)
HSVhsv(276, 32%, 91%)
CMYKcmyk(12.5%, 31.9%, 0%, 9%)
CIE-LABlab(71.54, 30.08, -30.97)
CIE-LCHlch(71.54, 43.18, 314.17°)
OKLaboklab(76.65% 0.0754 -0.085)
OKLCHoklch(76.65% 0.114 311.6)
XYZxyz(51.4185, 42.9771, 81.9150)
Luminance0.4298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9EE8 #BBE89E
analogous
#A69EE8 #CB9EE8 #E89EE0
triadic
#CB9EE8 #E8CB9E #9EE8CB
tetradic
#CB9EE8 #E8A69E #BBE89E #9EE0E8
square
#CB9EE8 #E8A69E #BBE89E #9EE0E8
split-complementary
#CB9EE8 #E0E89E #9EE8A6
monochromatic
#963BD1 #B06DDC #CB9EE8 #E6CFF4 #F2E6F9

Accessibility & contrast

On white

2.19
#CB9EE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#CB9EE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9EE8
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9EE8#FFFFFF#000000##000000
##CB9EE81.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92ADEB
Deuteranopia (green-blind)
#9BB0E6
Tritanopia (blue-blind)
#C8A8B9
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cb9ee8;
/* rgb */ color: rgb(203, 158, 232);
/* oklch */ color: oklch(76.7% 0.114 311.6);
Tailwind
colors: {
  custom: {
    50: '#dbbbef',
    500: '#cb9ee8',
    950: '#000000',
  },
}
SCSS
$custom: #cb9ee8;
$custom-light: #dbbbef;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9ee8",
  "rgb": {
    "r": 203,
    "g": 158,
    "b": 232
  },
  "hsl": {
    "h": 276.486,
    "s": 61.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76654,
    "c": 0.11359,
    "h": 311.6
  },
  "luminance": 0.42976
}

Semantic roles & 50–950 ramp

primary
#CB9EE8
secondary
#E3F1DA
accent
#C91C60
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CB9EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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