#CB9BEB#CB9BEB

#CB9BEB is a light, vivid violet. Relative luminance 0.421; OKLCH L 76.3% C 0.122 H 311.1°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#CB9BEB
RGBrgb(203, 155, 235)
HSLhsl(276, 67%, 76%)
HSVhsv(276, 34%, 92%)
CMYKcmyk(13.6%, 34%, 0%, 7.8%)
CIE-LABlab(70.97, 32.35, -33.50)
CIE-LCHlch(70.97, 46.57, 314.01°)
OKLaboklab(76.26% 0.0805 -0.0921)
OKLCHoklch(76.26% 0.122 311.1)
XYZxyz(51.3427, 42.1381, 84.0099)
Luminance0.4214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9BEB #BBEB9B
analogous
#A39BEB #CB9BEB #EB9BE3
triadic
#CB9BEB #EBCB9B #9BEBCB
tetradic
#CB9BEB #EBA39B #BBEB9B #9BE3EB
square
#CB9BEB #EBA39B #BBEB9B #9BE3EB
split-complementary
#CB9BEB #E3EB9B #9BEBA3
monochromatic
#9635D7 #B068E1 #CB9BEB #E6CEF5 #F2E5FA

Accessibility & contrast

On white

2.23
#CB9BEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#CB9BEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9BEB
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9BEB#FFFFFF#000000##000000
##CB9BEB1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DABEE
Deuteranopia (green-blind)
#98AFE9
Tritanopia (blue-blind)
#C8A6B8
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cb9beb;
/* rgb */ color: rgb(203, 155, 235);
/* oklch */ color: oklch(76.3% 0.122 311.1);
Tailwind
colors: {
  custom: {
    50: '#dcb9f1',
    500: '#cb9beb',
    950: '#000000',
  },
}
SCSS
$custom: #cb9beb;
$custom-light: #dcb9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9beb",
  "rgb": {
    "r": 203,
    "g": 155,
    "b": 235
  },
  "hsl": {
    "h": 276,
    "s": 66.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76256,
    "c": 0.12234,
    "h": 311.1
  },
  "luminance": 0.42137
}

Semantic roles & 50–950 ramp

primary
#CB9BEB
secondary
#E3F1DA
accent
#CF1760
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB9BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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