#B097FA#B097FA

#B097FA is a light, vivid violet. Relative luminance 0.383; OKLCH L 73.8% C 0.142 H 294.3°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#B097FA
RGBrgb(176, 151, 250)
HSLhsl(255, 91%, 79%)
HSVhsv(255, 40%, 98%)
CMYKcmyk(29.6%, 39.6%, 0%, 2%)
CIE-LABlab(68.22, 30.20, -46.16)
CIE-LCHlch(68.22, 55.16, 303.19°)
OKLaboklab(73.8% 0.0582 -0.1291)
OKLCHoklch(73.8% 0.142 294.3)
XYZxyz(46.2222, 38.2647, 95.3745)
Luminance0.3826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B097FA #E1FA97
analogous
#97AFFA #B097FA #E297FA
triadic
#B097FA #FAB097 #97FAB0
tetradic
#B097FA #FA97AF #E1FA97 #97FAE2
square
#B097FA #FA97AF #E1FA97 #97FAE2
split-complementary
#B097FA #FAE297 #AFFA97
monochromatic
#5722F4 #845DF7 #B097FA #DCD1FD #E9E2FE

Accessibility & contrast

On white

2.43
#B097FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#B097FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B097FA
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B097FA#FFFFFF#000000##000000
##B097FA1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA7FE
Deuteranopia (green-blind)
#7EA5F7
Tritanopia (blue-blind)
#A0A9BD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b097fa;
/* rgb */ color: rgb(176, 151, 250);
/* oklch */ color: oklch(73.8% 0.142 294.3);
Tailwind
colors: {
  custom: {
    50: '#cab5fc',
    500: '#b097fa',
    950: '#000000',
  },
}
SCSS
$custom: #b097fa;
$custom-light: #cab5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b097fa",
  "rgb": {
    "r": 176,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 255.152,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.73796,
    "c": 0.14163,
    "h": 294.3
  },
  "luminance": 0.38265
}

Semantic roles & 50–950 ramp

primary
#B097FA
secondary
#EEF6D5
accent
#E600AC
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #B097FA

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

Preview Lab → · Contrast checker → · Palette generator →

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