#CB9EEE#CB9EEE

#CB9EEE is a light, vivid violet. Relative luminance 0.433; OKLCH L 76.9% C 0.121 H 309.5°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#CB9EEE
RGBrgb(203, 158, 238)
HSLhsl(274, 70%, 78%)
HSVhsv(274, 34%, 93%)
CMYKcmyk(14.7%, 33.6%, 0%, 6.7%)
CIE-LABlab(71.77, 31.35, -33.88)
CIE-LCHlch(71.77, 46.16, 312.77°)
OKLaboklab(76.91% 0.0769 -0.0933)
OKLCHoklch(76.91% 0.121 309.5)
XYZxyz(52.2853, 43.3239, 86.4803)
Luminance0.4332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9EEE #C1EE9E
analogous
#A39EEE #CB9EEE #EE9EE9
triadic
#CB9EEE #EECB9E #9EEECB
tetradic
#CB9EEE #EEA39E #C1EE9E #9EE9EE
square
#CB9EEE #EEA39E #C1EE9E #9EE9EE
split-complementary
#CB9EEE #E9EE9E #9EEEA3
monochromatic
#9336DC #AF6AE5 #CB9EEE #E7D2F7 #F1E5FA

Accessibility & contrast

On white

2.17
#CB9EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#CB9EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9EEE
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9EEE#FFFFFF#000000##000000
##CB9EEE1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAEF1
Deuteranopia (green-blind)
#99B1EC
Tritanopia (blue-blind)
#C7A9BB
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cb9eee;
/* rgb */ color: rgb(203, 158, 238);
/* oklch */ color: oklch(76.9% 0.121 309.5);
Tailwind
colors: {
  custom: {
    50: '#dcbbf3',
    500: '#cb9eee',
    950: '#000000',
  },
}
SCSS
$custom: #cb9eee;
$custom-light: #dcbbf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9eee",
  "rgb": {
    "r": 203,
    "g": 158,
    "b": 238
  },
  "hsl": {
    "h": 273.75,
    "s": 70.175,
    "l": 77.647
  },
  "oklch": {
    "l": 0.7691,
    "c": 0.12086,
    "h": 309.5
  },
  "luminance": 0.43323
}

Semantic roles & 50–950 ramp

primary
#CB9EEE
secondary
#E4F2D9
accent
#D21367
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CB9EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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