#B096FA#B096FA

#B096FA is a light, vivid violet. Relative luminance 0.379; OKLCH L 73.6% C 0.143 H 294.6°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#B096FA
RGBrgb(176, 150, 250)
HSLhsl(256, 91%, 78%)
HSVhsv(256, 40%, 98%)
CMYKcmyk(29.6%, 40%, 0%, 2%)
CIE-LABlab(67.98, 30.76, -46.53)
CIE-LCHlch(67.98, 55.78, 303.46°)
OKLaboklab(73.62% 0.0596 -0.1302)
OKLCHoklch(73.62% 0.143 294.6)
XYZxyz(46.0619, 37.9442, 95.3211)
Luminance0.3795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B096FA #E0FA96
analogous
#96AEFA #B096FA #E296FA
triadic
#B096FA #FAB096 #96FAB0
tetradic
#B096FA #FA96AE #E0FA96 #96FAE2
square
#B096FA #FA96AE #E0FA96 #96FAE2
split-complementary
#B096FA #FAE296 #AEFA96
monochromatic
#5821F4 #845CF7 #B096FA #DCD0FD #E9E2FE

Accessibility & contrast

On white

2.44
#B096FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#B096FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B096FA
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B096FA#FFFFFF#000000##000000
##B096FA1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FE
Deuteranopia (green-blind)
#7DA4F7
Tritanopia (blue-blind)
#A0A8BC
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b096fa;
/* rgb */ color: rgb(176, 150, 250);
/* oklch */ color: oklch(73.6% 0.143 294.6);
Tailwind
colors: {
  custom: {
    50: '#cab5fc',
    500: '#b096fa',
    950: '#000000',
  },
}
SCSS
$custom: #b096fa;
$custom-light: #cab5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b096fa",
  "rgb": {
    "r": 176,
    "g": 150,
    "b": 250
  },
  "hsl": {
    "h": 255.6,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.73617,
    "c": 0.14316,
    "h": 294.6
  },
  "luminance": 0.37945
}

Semantic roles & 50–950 ramp

primary
#B096FA
secondary
#EDF6D5
accent
#E600AA
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #B096FA

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

Preview Lab → · Contrast checker → · Palette generator →

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