#CB9EFF#CB9EFF

#CB9EFF is a light, vivid violet. Relative luminance 0.444; OKLCH L 77.7% C 0.142 H 304.7°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#CB9EFF
RGBrgb(203, 158, 255)
HSLhsl(268, 100%, 81%)
HSVhsv(268, 38%, 100%)
CMYKcmyk(20.4%, 38%, 0%, 0%)
CIE-LABlab(72.48, 35.05, -42.03)
CIE-LCHlch(72.48, 54.73, 309.82°)
OKLaboklab(77.67% 0.0806 -0.1166)
OKLCHoklch(77.67% 0.142 304.7)
XYZxyz(54.9018, 44.3704, 100.2604)
Luminance0.4437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9EFF #D2FF9E
analogous
#9EA1FF #CB9EFF #FB9EFF
triadic
#CB9EFF #FFCB9E #9EFFCB
tetradic
#CB9EFF #FF9EA1 #D2FF9E #9EFFFB
square
#CB9EFF #FF9EA1 #D2FF9E #9EFFFB
split-complementary
#CB9EFF #FFFB9E #A1FF9E
monochromatic
#8924FF #AA61FF #CB9EFF #ECDBFF #EFE0FF

Accessibility & contrast

On white

2.13
#CB9EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#CB9EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9EFF
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9EFF#FFFFFF#000000##000000
##CB9EFF1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#88B0FF
Deuteranopia (green-blind)
#92B2FC
Tritanopia (blue-blind)
#C3ADC3
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cb9eff;
/* rgb */ color: rgb(203, 158, 255);
/* oklch */ color: oklch(77.7% 0.142 304.7);
Tailwind
colors: {
  custom: {
    50: '#dcbbff',
    500: '#cb9eff',
    950: '#000000',
  },
}
SCSS
$custom: #cb9eff;
$custom-light: #dcbbff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9eff",
  "rgb": {
    "r": 203,
    "g": 158,
    "b": 255
  },
  "hsl": {
    "h": 267.835,
    "s": 100,
    "l": 80.98
  },
  "oklch": {
    "l": 0.77673,
    "c": 0.14179,
    "h": 304.7
  },
  "luminance": 0.4437
}

Semantic roles & 50–950 ramp

primary
#CB9EFF
secondary
#E7F7D4
accent
#E6007B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CB9EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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