#CB9EED#CB9EED

#CB9EED is a light, moderate violet. Relative luminance 0.433; OKLCH L 76.9% C 0.120 H 309.8°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#CB9EED
RGBrgb(203, 158, 237)
HSLhsl(274, 69%, 77%)
HSVhsv(274, 33%, 93%)
CMYKcmyk(14.3%, 33.3%, 0%, 7.1%)
CIE-LABlab(71.73, 31.14, -33.40)
CIE-LCHlch(71.73, 45.66, 312.99°)
OKLaboklab(76.87% 0.0766 -0.0919)
OKLCHoklch(76.87% 0.12 309.8)
XYZxyz(52.1388, 43.2653, 85.7087)
Luminance0.4326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9EED #C0ED9E
analogous
#A39EED #CB9EED #ED9EE8
triadic
#CB9EED #EDCB9E #9EEDCB
tetradic
#CB9EED #EDA39E #C0ED9E #9EE8ED
square
#CB9EED #EDA39E #C0ED9E #9EE8ED
split-complementary
#CB9EED #E8ED9E #9EEDA3
monochromatic
#9437DA #AF6AE3 #CB9EED #E7D2F7 #F1E5FA

Accessibility & contrast

On white

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

On black

9.65
#CB9EED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9EED
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9EED#FFFFFF#000000##000000
##CB9EED1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AEF0
Deuteranopia (green-blind)
#99B1EB
Tritanopia (blue-blind)
#C7A9BB
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cb9eed;
/* rgb */ color: rgb(203, 158, 237);
/* oklch */ color: oklch(76.9% 0.120 309.8);
Tailwind
colors: {
  custom: {
    50: '#dcbbf3',
    500: '#cb9eed',
    950: '#000000',
  },
}
SCSS
$custom: #cb9eed;
$custom-light: #dcbbf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9eed",
  "rgb": {
    "r": 203,
    "g": 158,
    "b": 237
  },
  "hsl": {
    "h": 274.177,
    "s": 68.696,
    "l": 77.451
  },
  "oklch": {
    "l": 0.76867,
    "c": 0.11965,
    "h": 309.8
  },
  "luminance": 0.43265
}

Semantic roles & 50–950 ramp

primary
#CB9EED
secondary
#E4F2D9
accent
#D11566
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CB9EED

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

Preview Lab → · Contrast checker → · Palette generator →

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