#CB96FD#CB96FD

#CB96FD is a light, vivid violet. Relative luminance 0.416; OKLCH L 76.2% C 0.152 H 306.8°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#CB96FD
RGBrgb(203, 150, 253)
HSLhsl(271, 96%, 79%)
HSVhsv(271, 41%, 99%)
CMYKcmyk(19.8%, 40.7%, 0%, 0.8%)
CIE-LABlab(70.60, 38.96, -43.89)
CIE-LCHlch(70.60, 58.69, 311.60°)
OKLaboklab(76.22% 0.0913 -0.1219)
OKLCHoklch(76.22% 0.152 306.8)
XYZxyz(53.2611, 41.6015, 98.1335)
Luminance0.4160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB96FD #C8FD96
analogous
#9896FD #CB96FD #FD96FB
triadic
#CB96FD #FDCB96 #96FDCB
tetradic
#CB96FD #FD9896 #C8FD96 #96FBFD
square
#CB96FD #FD9896 #C8FD96 #96FBFD
split-complementary
#CB96FD #FBFD96 #96FD98
monochromatic
#901EFB #AD5AFC #CB96FD #E9D2FE #F0E1FE

Accessibility & contrast

On white

2.25
#CB96FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#CB96FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB96FD
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB96FD#FFFFFF#000000##000000
##CB96FD1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FABFF
Deuteranopia (green-blind)
#8BADFA
Tritanopia (blue-blind)
#C4A6BE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cb96fd;
/* rgb */ color: rgb(203, 150, 253);
/* oklch */ color: oklch(76.2% 0.152 306.8);
Tailwind
colors: {
  custom: {
    50: '#dcb5fe',
    500: '#cb96fd',
    950: '#000000',
  },
}
SCSS
$custom: #cb96fd;
$custom-light: #dcb5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb96fd",
  "rgb": {
    "r": 203,
    "g": 150,
    "b": 253
  },
  "hsl": {
    "h": 270.874,
    "s": 96.262,
    "l": 79.02
  },
  "oklch": {
    "l": 0.76224,
    "c": 0.15234,
    "h": 306.8
  },
  "luminance": 0.41601
}

Semantic roles & 50–950 ramp

primary
#CB96FD
secondary
#E5F7D4
accent
#E6006F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CB96FD

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

Preview Lab → · Contrast checker → · Palette generator →

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