#CB9EE2#CB9EE2

#CB9EE2 is a light, moderate violet. Relative luminance 0.426; OKLCH L 76.4% C 0.106 H 313.9°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#CB9EE2
RGBrgb(203, 158, 226)
HSLhsl(280, 54%, 75%)
HSVhsv(280, 30%, 89%)
CMYKcmyk(10.2%, 30.1%, 0%, 11.4%)
CIE-LABlab(71.31, 28.84, -28.04)
CIE-LCHlch(71.31, 40.22, 315.81°)
OKLaboklab(76.41% 0.0738 -0.0766)
OKLCHoklch(76.41% 0.106 313.9)
XYZxyz(50.5807, 42.6420, 77.5029)
Luminance0.4264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9EE2 #B5E29E
analogous
#A99EE2 #CB9EE2 #E29ED7
triadic
#CB9EE2 #E2CB9E #9EE2CB
tetradic
#CB9EE2 #E2A99E #B5E29E #9ED7E2
square
#CB9EE2 #E2A99E #B5E29E #9ED7E2
split-complementary
#CB9EE2 #D7E29E #9EE2A9
monochromatic
#9840C6 #B26FD4 #CB9EE2 #E4CDF0 #F2E7F8

Accessibility & contrast

On white

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

On black

9.53
#CB9EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9EE2
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9EE2#FFFFFF#000000##000000
##CB9EE21.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#94ACE5
Deuteranopia (green-blind)
#9EB0E0
Tritanopia (blue-blind)
#CAA6B6
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cb9ee2;
/* rgb */ color: rgb(203, 158, 226);
/* oklch */ color: oklch(76.4% 0.106 313.9);
Tailwind
colors: {
  custom: {
    50: '#dbbbeb',
    500: '#cb9ee2',
    950: '#000000',
  },
}
SCSS
$custom: #cb9ee2;
$custom-light: #dbbbeb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9ee2",
  "rgb": {
    "r": 203,
    "g": 158,
    "b": 226
  },
  "hsl": {
    "h": 279.706,
    "s": 53.968,
    "l": 75.294
  },
  "oklch": {
    "l": 0.76405,
    "c": 0.10643,
    "h": 313.9
  },
  "luminance": 0.42641
}

Semantic roles & 50–950 ramp

primary
#CB9EE2
secondary
#E2EFDC
accent
#C12459
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CB9EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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