#CB9BEC#CB9BEC

#CB9BEC is a light, vivid violet. Relative luminance 0.422; OKLCH L 76.3% C 0.124 H 310.8°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#CB9BEC
RGBrgb(203, 155, 236)
HSLhsl(276, 68%, 77%)
HSVhsv(276, 34%, 93%)
CMYKcmyk(14%, 34.3%, 0%, 7.5%)
CIE-LABlab(71.01, 32.57, -33.98)
CIE-LCHlch(71.01, 47.07, 313.78°)
OKLaboklab(76.3% 0.0807 -0.0935)
OKLCHoklch(76.3% 0.124 310.8)
XYZxyz(51.4876, 42.1960, 84.7729)
Luminance0.4219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9BEC #BCEC9B
analogous
#A39BEC #CB9BEC #EC9BE4
triadic
#CB9BEC #ECCB9B #9BECCB
tetradic
#CB9BEC #ECA39B #BCEC9B #9BE4EC
square
#CB9BEC #ECA39B #BCEC9B #9BE4EC
split-complementary
#CB9BEC #E4EC9B #9BECA3
monochromatic
#9634D8 #B068E2 #CB9BEC #E6CEF6 #F2E5FA

Accessibility & contrast

On white

2.22
#CB9BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#CB9BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9BEC
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9BEC#FFFFFF#000000##000000
##CB9BEC1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CABEF
Deuteranopia (green-blind)
#97AFEA
Tritanopia (blue-blind)
#C8A6B9
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cb9bec;
/* rgb */ color: rgb(203, 155, 236);
/* oklch */ color: oklch(76.3% 0.124 310.8);
Tailwind
colors: {
  custom: {
    50: '#dcb9f2',
    500: '#cb9bec',
    950: '#000000',
  },
}
SCSS
$custom: #cb9bec;
$custom-light: #dcb9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9bec",
  "rgb": {
    "r": 203,
    "g": 155,
    "b": 236
  },
  "hsl": {
    "h": 275.556,
    "s": 68.067,
    "l": 76.667
  },
  "oklch": {
    "l": 0.763,
    "c": 0.12353,
    "h": 310.8
  },
  "luminance": 0.42195
}

Semantic roles & 50–950 ramp

primary
#CB9BEC
secondary
#E3F2D9
accent
#D01661
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB9BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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