#CB9DEE#CB9DEE

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

Color values

HEX#CB9DEE
RGBrgb(203, 157, 238)
HSLhsl(274, 70%, 77%)
HSVhsv(274, 34%, 93%)
CMYKcmyk(14.7%, 34%, 0%, 6.7%)
CIE-LABlab(71.54, 31.90, -34.24)
CIE-LCHlch(71.54, 46.79, 312.97°)
OKLaboklab(76.74% 0.0783 -0.0943)
OKLCHoklch(76.74% 0.123 309.7)
XYZxyz(52.1154, 42.9841, 86.4236)
Luminance0.4298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9DEE #C0EE9D
analogous
#A29DEE #CB9DEE #EE9DE9
triadic
#CB9DEE #EECB9D #9DEECB
tetradic
#CB9DEE #EEA29D #C0EE9D #9DE9EE
square
#CB9DEE #EEA29D #C0EE9D #9DE9EE
split-complementary
#CB9DEE #E9EE9D #9DEEA2
monochromatic
#9435DC #AF69E5 #CB9DEE #E7D1F7 #F1E5FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB9DEE#FFFFFF#000000##000000
##CB9DEE1.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)
#8EADF1
Deuteranopia (green-blind)
#98B0EC
Tritanopia (blue-blind)
#C7A8BB
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cb9dee;
/* rgb */ color: rgb(203, 157, 238);
/* oklch */ color: oklch(76.7% 0.123 309.7);
Tailwind
colors: {
  custom: {
    50: '#dcbaf3',
    500: '#cb9dee',
    950: '#000000',
  },
}
SCSS
$custom: #cb9dee;
$custom-light: #dcbaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9dee",
  "rgb": {
    "r": 203,
    "g": 157,
    "b": 238
  },
  "hsl": {
    "h": 274.074,
    "s": 70.435,
    "l": 77.451
  },
  "oklch": {
    "l": 0.76735,
    "c": 0.12256,
    "h": 309.7
  },
  "luminance": 0.42983
}

Semantic roles & 50–950 ramp

primary
#CB9DEE
secondary
#E4F2D9
accent
#D21366
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB9DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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