#B97BF5#B97BF5

#B97BF5 is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.7% C 0.181 H 305.7°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#B97BF5
RGBrgb(185, 123, 245)
HSLhsl(270, 86%, 72%)
HSVhsv(270, 50%, 96%)
CMYKcmyk(24.5%, 49.8%, 0%, 3.9%)
CIE-LABlab(62.57, 46.86, -52.28)
CIE-LCHlch(62.57, 70.21, 311.87°)
OKLaboklab(69.68% 0.1054 -0.1466)
OKLCHoklch(69.68% 0.181 305.7)
XYZxyz(43.5685, 31.0731, 90.0710)
Luminance0.3107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97BF5 #B7F57B
analogous
#7C7BF5 #B97BF5 #F57BF4
triadic
#B97BF5 #F5B97B #7BF5B9
tetradic
#B97BF5 #F57C7B #B7F57B #7BF4F5
square
#B97BF5 #F57C7B #B7F57B #7BF4F5
split-complementary
#B97BF5 #F4F57B #7BF57C
monochromatic
#7D11E4 #9B42F1 #B97BF5 #D7B4F9 #F0E3FD

Accessibility & contrast

On white

2.91
#B97BF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#B97BF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97BF5
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97BF5#FFFFFF#000000##000000
##B97BF51.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5795F9
Deuteranopia (green-blind)
#6998F2
Tritanopia (blue-blind)
#AF91AD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b97bf5;
/* rgb */ color: rgb(185, 123, 245);
/* oklch */ color: oklch(69.7% 0.181 305.7);
Tailwind
colors: {
  custom: {
    50: '#d1a3f9',
    500: '#b97bf5',
    950: '#000000',
  },
}
SCSS
$custom: #b97bf5;
$custom-light: #d1a3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b97bf5",
  "rgb": {
    "r": 185,
    "g": 123,
    "b": 245
  },
  "hsl": {
    "h": 270.492,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69675,
    "c": 0.18058,
    "h": 305.7
  },
  "luminance": 0.31073
}

Semantic roles & 50–950 ramp

primary
#B97BF5
secondary
#E5F5D6
accent
#E20371
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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