#CB96FB#CB96FB

#CB96FB is a light, vivid violet. Relative luminance 0.415; OKLCH L 76.1% C 0.150 H 307.3°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#CB96FB
RGBrgb(203, 150, 251)
HSLhsl(271, 93%, 79%)
HSVhsv(271, 40%, 98%)
CMYKcmyk(19.1%, 40.2%, 0%, 1.6%)
CIE-LABlab(70.51, 38.52, -42.94)
CIE-LCHlch(70.51, 57.69, 311.90°)
OKLaboklab(76.13% 0.0909 -0.1192)
OKLCHoklch(76.13% 0.15 307.3)
XYZxyz(52.9441, 41.4747, 96.4644)
Luminance0.4147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB96FB #C6FB96
analogous
#9896FB #CB96FB #FB96F9
triadic
#CB96FB #FBCB96 #96FBCB
tetradic
#CB96FB #FB9896 #C6FB96 #96F9FB
square
#CB96FB #FB9896 #C6FB96 #96F9FB
split-complementary
#CB96FB #F9FB96 #96FB98
monochromatic
#9120F7 #AE5BF9 #CB96FB #E8D1FD #F0E2FE

Accessibility & contrast

On white

2.26
#CB96FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#CB96FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB96FB
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB96FB#FFFFFF#000000##000000
##CB96FB1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#80AAFF
Deuteranopia (green-blind)
#8CADF8
Tritanopia (blue-blind)
#C4A6BD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cb96fb;
/* rgb */ color: rgb(203, 150, 251);
/* oklch */ color: oklch(76.1% 0.150 307.3);
Tailwind
colors: {
  custom: {
    50: '#dcb5fd',
    500: '#cb96fb',
    950: '#000000',
  },
}
SCSS
$custom: #cb96fb;
$custom-light: #dcb5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb96fb",
  "rgb": {
    "r": 203,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 271.485,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76128,
    "c": 0.14993,
    "h": 307.3
  },
  "luminance": 0.41474
}

Semantic roles & 50–950 ramp

primary
#CB96FB
secondary
#E5F6D5
accent
#E6006D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CB96FB

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

Preview Lab → · Contrast checker → · Palette generator →

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