#B96DFA#B96DFA

#B96DFA is a light, highly saturated violet. Relative luminance 0.282; OKLCH L 67.9% C 0.207 H 306.6°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#B96DFA
RGBrgb(185, 109, 250)
HSLhsl(272, 93%, 70%)
HSVhsv(272, 56%, 98%)
CMYKcmyk(26%, 56.4%, 0%, 2%)
CIE-LABlab(60.03, 55.32, -59.09)
CIE-LCHlch(60.03, 80.94, 313.11°)
OKLaboklab(67.89% 0.1235 -0.1665)
OKLCHoklch(67.89% 0.207 306.6)
XYZxyz(42.7279, 28.1541, 93.6073)
Luminance0.2815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96DFA #AEFA6D
analogous
#726DFA #B96DFA #FA6DF5
triadic
#B96DFA #FAB96D #6DFAB9
tetradic
#B96DFA #FA726D #AEFA6D #6DF5FA
square
#B96DFA #FA726D #AEFA6D #6DF5FA
split-complementary
#B96DFA #F5FA6D #6DFA72
monochromatic
#7F08E5 #9D32F8 #B96DFA #D5A8FC #F1E1FE

Accessibility & contrast

On white

3.17
#B96DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#B96DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96DFA
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96DFA#FFFFFF#000000##000000
##B96DFA1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#388EFF
Deuteranopia (green-blind)
#5591F7
Tritanopia (blue-blind)
#AF88A9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b96dfa;
/* rgb */ color: rgb(185, 109, 250);
/* oklch */ color: oklch(67.9% 0.207 306.6);
Tailwind
colors: {
  custom: {
    50: '#d19afd',
    500: '#b96dfa',
    950: '#000000',
  },
}
SCSS
$custom: #b96dfa;
$custom-light: #d19afd;
$custom-dark: #000000;
JSON
{
  "hex": "#b96dfa",
  "rgb": {
    "r": 185,
    "g": 109,
    "b": 250
  },
  "hsl": {
    "h": 272.34,
    "s": 93.377,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67888,
    "c": 0.20728,
    "h": 306.6
  },
  "luminance": 0.28154
}

Semantic roles & 50–950 ramp

primary
#B96DFA
secondary
#E0F5CE
accent
#E6006A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B96DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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