#CB9DEB#CB9DEB

#CB9DEB is a light, moderate violet. Relative luminance 0.428; OKLCH L 76.6% C 0.119 H 310.7°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#CB9DEB
RGBrgb(203, 157, 235)
HSLhsl(275, 66%, 77%)
HSVhsv(275, 33%, 92%)
CMYKcmyk(13.6%, 33.2%, 0%, 7.8%)
CIE-LABlab(71.43, 31.26, -32.78)
CIE-LCHlch(71.43, 45.30, 313.64°)
OKLaboklab(76.61% 0.0776 -0.0901)
OKLCHoklch(76.61% 0.119 310.7)
XYZxyz(51.6783, 42.8093, 84.1217)
Luminance0.4281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9DEB #BDEB9D
analogous
#A49DEB #CB9DEB #EB9DE4
triadic
#CB9DEB #EBCB9D #9DEBCB
tetradic
#CB9DEB #EBA49D #BDEB9D #9DE4EB
square
#CB9DEB #EBA49D #BDEB9D #9DE4EB
split-complementary
#CB9DEB #E4EB9D #9DEBA4
monochromatic
#9537D6 #B06AE1 #CB9DEB #E6D0F5 #F2E6FA

Accessibility & contrast

On white

2.20
#CB9DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#CB9DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9DEB
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9DEB#FFFFFF#000000##000000
##CB9DEB1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FADEE
Deuteranopia (green-blind)
#99B0E9
Tritanopia (blue-blind)
#C8A8BA
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cb9deb;
/* rgb */ color: rgb(203, 157, 235);
/* oklch */ color: oklch(76.6% 0.119 310.7);
Tailwind
colors: {
  custom: {
    50: '#dcbaf1',
    500: '#cb9deb',
    950: '#000000',
  },
}
SCSS
$custom: #cb9deb;
$custom-light: #dcbaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9deb",
  "rgb": {
    "r": 203,
    "g": 157,
    "b": 235
  },
  "hsl": {
    "h": 275.385,
    "s": 66.102,
    "l": 76.863
  },
  "oklch": {
    "l": 0.76606,
    "c": 0.11892,
    "h": 310.7
  },
  "luminance": 0.42809
}

Semantic roles & 50–950 ramp

primary
#CB9DEB
secondary
#E3F1DA
accent
#CE1862
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB9DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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