#CB9FFF#CB9FFF

#CB9FFF is a light, vivid violet. Relative luminance 0.447; OKLCH L 77.8% C 0.140 H 304.4°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#CB9FFF
RGBrgb(203, 159, 255)
HSLhsl(268, 100%, 81%)
HSVhsv(268, 38%, 100%)
CMYKcmyk(20.4%, 37.6%, 0%, 0%)
CIE-LABlab(72.70, 34.50, -41.68)
CIE-LCHlch(72.70, 54.10, 309.62°)
OKLaboklab(77.85% 0.0793 -0.1156)
OKLCHoklch(77.85% 0.14 304.4)
XYZxyz(55.0730, 44.7130, 100.3175)
Luminance0.4471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9FFF #D3FF9F
analogous
#9FA3FF #CB9FFF #FB9FFF
triadic
#CB9FFF #FFCB9F #9FFFCB
tetradic
#CB9FFF #FF9FA3 #D3FF9F #9FFFFB
square
#CB9FFF #FF9FA3 #D3FF9F #9FFFFB
split-complementary
#CB9FFF #FFFB9F #A3FF9F
monochromatic
#8925FF #AA62FF #CB9FFF #ECDCFF #EEE0FF

Accessibility & contrast

On white

2.11
#CB9FFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#CB9FFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9FFF
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9FFF#FFFFFF#000000##000000
##CB9FFF1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B1FF
Deuteranopia (green-blind)
#93B2FC
Tritanopia (blue-blind)
#C3AEC3
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cb9fff;
/* rgb */ color: rgb(203, 159, 255);
/* oklch */ color: oklch(77.8% 0.140 304.4);
Tailwind
colors: {
  custom: {
    50: '#dcbcff',
    500: '#cb9fff',
    950: '#000000',
  },
}
SCSS
$custom: #cb9fff;
$custom-light: #dcbcff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9fff",
  "rgb": {
    "r": 203,
    "g": 159,
    "b": 255
  },
  "hsl": {
    "h": 267.5,
    "s": 100,
    "l": 81.176
  },
  "oklch": {
    "l": 0.77845,
    "c": 0.14017,
    "h": 304.4
  },
  "luminance": 0.44713
}

Semantic roles & 50–950 ramp

primary
#CB9FFF
secondary
#E7F7D4
accent
#E6007C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CB9FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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