#CB96FA#CB96FA

#CB96FA is a light, vivid violet. Relative luminance 0.414; OKLCH L 76.1% C 0.149 H 307.6°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#CB96FA
RGBrgb(203, 150, 250)
HSLhsl(272, 91%, 78%)
HSVhsv(272, 40%, 98%)
CMYKcmyk(18.8%, 40%, 0%, 2%)
CIE-LABlab(70.46, 38.30, -42.46)
CIE-LCHlch(70.46, 57.19, 312.05°)
OKLaboklab(76.08% 0.0908 -0.1178)
OKLCHoklch(76.08% 0.149 307.6)
XYZxyz(52.7869, 41.4118, 95.6364)
Luminance0.4141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB96FA #C5FA96
analogous
#9996FA #CB96FA #FA96F7
triadic
#CB96FA #FACB96 #96FACB
tetradic
#CB96FA #FA9996 #C5FA96 #96F7FA
square
#CB96FA #FA9996 #C5FA96 #96F7FA
split-complementary
#CB96FA #F7FA96 #96FA99
monochromatic
#9121F4 #AE5CF7 #CB96FA #E8D0FD #F1E2FE

Accessibility & contrast

On white

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

On black

9.28
#CB96FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB96FA
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB96FA#FFFFFF#000000##000000
##CB96FA1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#80AAFE
Deuteranopia (green-blind)
#8CADF7
Tritanopia (blue-blind)
#C5A5BC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cb96fa;
/* rgb */ color: rgb(203, 150, 250);
/* oklch */ color: oklch(76.1% 0.149 307.6);
Tailwind
colors: {
  custom: {
    50: '#dcb5fc',
    500: '#cb96fa',
    950: '#000000',
  },
}
SCSS
$custom: #cb96fa;
$custom-light: #dcb5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb96fa",
  "rgb": {
    "r": 203,
    "g": 150,
    "b": 250
  },
  "hsl": {
    "h": 271.8,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.76081,
    "c": 0.14873,
    "h": 307.6
  },
  "luminance": 0.41411
}

Semantic roles & 50–950 ramp

primary
#CB96FA
secondary
#E5F6D5
accent
#E6006C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CB96FA

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

Preview Lab → · Contrast checker → · Palette generator →

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