#B97BF9#B97BF9

#B97BF9 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.9% C 0.185 H 304.8°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#B97BF9
RGBrgb(185, 123, 249)
HSLhsl(270, 91%, 73%)
HSVhsv(270, 51%, 98%)
CMYKcmyk(25.7%, 50.6%, 0%, 2.4%)
CIE-LABlab(62.78, 47.78, -54.16)
CIE-LCHlch(62.78, 72.22, 311.42°)
OKLaboklab(69.9% 0.1057 -0.1521)
OKLCHoklch(69.9% 0.185 304.8)
XYZxyz(44.1858, 31.3200, 93.3217)
Luminance0.3132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97BF9 #BBF97B
analogous
#7B7CF9 #B97BF9 #F87BF9
triadic
#B97BF9 #F9B97B #7BF9B9
tetradic
#B97BF9 #F97B7C #BBF97B #7BF9F8
square
#B97BF9 #F97B7C #BBF97B #7BF9F8
split-complementary
#B97BF9 #F9F87B #7CF97B
monochromatic
#7B0BEF #9A40F6 #B97BF9 #D8B6FC #EFE2FE

Accessibility & contrast

On white

2.89
#B97BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#B97BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97BF9
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97BF9#FFFFFF#000000##000000
##B97BF91.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5496FD
Deuteranopia (green-blind)
#6698F6
Tritanopia (blue-blind)
#AE92AF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b97bf9;
/* rgb */ color: rgb(185, 123, 249);
/* oklch */ color: oklch(69.9% 0.185 304.8);
Tailwind
colors: {
  custom: {
    50: '#d1a3fc',
    500: '#b97bf9',
    950: '#000000',
  },
}
SCSS
$custom: #b97bf9;
$custom-light: #d1a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b97bf9",
  "rgb": {
    "r": 185,
    "g": 123,
    "b": 249
  },
  "hsl": {
    "h": 269.524,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69897,
    "c": 0.18525,
    "h": 304.8
  },
  "luminance": 0.3132
}

Semantic roles & 50–950 ramp

primary
#B97BF9
secondary
#E6F6D5
accent
#E60075
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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