#CB9EEF#CB9EEF

#CB9EEF is a light, vivid violet. Relative luminance 0.434; OKLCH L 77.0% C 0.122 H 309.2°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#CB9EEF
RGBrgb(203, 158, 239)
HSLhsl(273, 72%, 78%)
HSVhsv(273, 34%, 94%)
CMYKcmyk(15.1%, 33.9%, 0%, 6.3%)
CIE-LABlab(71.81, 31.56, -34.37)
CIE-LCHlch(71.81, 46.66, 312.56°)
OKLaboklab(76.95% 0.0771 -0.0946)
OKLCHoklch(76.95% 0.122 309.2)
XYZxyz(52.4326, 43.3828, 87.2562)
Luminance0.4338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9EEF #C2EF9E
analogous
#A29EEF #CB9EEF #EF9EEB
triadic
#CB9EEF #EFCB9E #9EEFCB
tetradic
#CB9EEF #EFA29E #C2EF9E #9EEBEF
square
#CB9EEF #EFA29E #C2EF9E #9EEBEF
split-complementary
#CB9EEF #EBEF9E #9EEFA2
monochromatic
#9335DE #AF69E6 #CB9EEF #E7D3F8 #F1E5FB

Accessibility & contrast

On white

2.17
#CB9EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#CB9EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9EEF
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9EEF#FFFFFF#000000##000000
##CB9EEF1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAEF2
Deuteranopia (green-blind)
#99B1ED
Tritanopia (blue-blind)
#C7A9BC
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cb9eef;
/* rgb */ color: rgb(203, 158, 239);
/* oklch */ color: oklch(77.0% 0.122 309.2);
Tailwind
colors: {
  custom: {
    50: '#dcbbf4',
    500: '#cb9eef',
    950: '#000000',
  },
}
SCSS
$custom: #cb9eef;
$custom-light: #dcbbf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9eef",
  "rgb": {
    "r": 203,
    "g": 158,
    "b": 239
  },
  "hsl": {
    "h": 273.333,
    "s": 71.681,
    "l": 77.843
  },
  "oklch": {
    "l": 0.76954,
    "c": 0.12208,
    "h": 309.2
  },
  "luminance": 0.43382
}

Semantic roles & 50–950 ramp

primary
#CB9EEF
secondary
#E4F2D9
accent
#D41268
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CB9EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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