#CB9EEB#CB9EEB

#CB9EEB is a light, moderate violet. Relative luminance 0.431; OKLCH L 76.8% C 0.117 H 310.5°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#CB9EEB
RGBrgb(203, 158, 235)
HSLhsl(275, 66%, 77%)
HSVhsv(275, 33%, 92%)
CMYKcmyk(13.6%, 32.8%, 0%, 7.8%)
CIE-LABlab(71.66, 30.71, -32.43)
CIE-LCHlch(71.66, 44.66, 313.44°)
OKLaboklab(76.78% 0.0762 -0.0891)
OKLCHoklch(76.78% 0.117 310.5)
XYZxyz(51.8482, 43.1490, 84.1784)
Luminance0.4315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9EEB #BEEB9E
analogous
#A59EEB #CB9EEB #EB9EE5
triadic
#CB9EEB #EBCB9E #9EEBCB
tetradic
#CB9EEB #EBA59E #BEEB9E #9EE5EB
square
#CB9EEB #EBA59E #BEEB9E #9EE5EB
split-complementary
#CB9EEB #E5EB9E #9EEBA5
monochromatic
#9539D6 #B06BE1 #CB9EEB #E6D1F5 #F1E6FA

Accessibility & contrast

On white

2.18
#CB9EEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#CB9EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9EEB
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9EEB#FFFFFF#000000##000000
##CB9EEB1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#90ADEE
Deuteranopia (green-blind)
#9AB0E9
Tritanopia (blue-blind)
#C8A8BA
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cb9eeb;
/* rgb */ color: rgb(203, 158, 235);
/* oklch */ color: oklch(76.8% 0.117 310.5);
Tailwind
colors: {
  custom: {
    50: '#dbbbf1',
    500: '#cb9eeb',
    950: '#000000',
  },
}
SCSS
$custom: #cb9eeb;
$custom-light: #dbbbf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9eeb",
  "rgb": {
    "r": 203,
    "g": 158,
    "b": 235
  },
  "hsl": {
    "h": 275.065,
    "s": 65.812,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76781,
    "c": 0.11722,
    "h": 310.5
  },
  "luminance": 0.43148
}

Semantic roles & 50–950 ramp

primary
#CB9EEB
secondary
#E4F1DA
accent
#CE1863
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CB9EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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