#B97BF6#B97BF6

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

Color values

HEX#B97BF6
RGBrgb(185, 123, 246)
HSLhsl(270, 87%, 72%)
HSVhsv(270, 50%, 96%)
CMYKcmyk(24.8%, 50%, 0%, 3.5%)
CIE-LABlab(62.62, 47.09, -52.75)
CIE-LCHlch(62.62, 70.71, 311.75°)
OKLaboklab(69.73% 0.1055 -0.148)
OKLCHoklch(69.73% 0.182 305.5)
XYZxyz(43.7216, 31.1343, 90.8771)
Luminance0.3113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97BF6 #B8F67B
analogous
#7C7BF6 #B97BF6 #F67BF5
triadic
#B97BF6 #F6B97B #7BF6B9
tetradic
#B97BF6 #F67C7B #B8F67B #7BF5F6
square
#B97BF6 #F67C7B #B8F67B #7BF5F6
split-complementary
#B97BF6 #F5F67B #7BF67C
monochromatic
#7C10E7 #9B42F2 #B97BF6 #D7B4FA #F0E2FD

Accessibility & contrast

On white

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

On black

7.23
#B97BF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97BF6
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97BF6#FFFFFF#000000##000000
##B97BF61.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5695FA
Deuteranopia (green-blind)
#6898F3
Tritanopia (blue-blind)
#AF91AD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b97bf6;
/* rgb */ color: rgb(185, 123, 246);
/* oklch */ color: oklch(69.7% 0.182 305.5);
Tailwind
colors: {
  custom: {
    50: '#d1a3fa',
    500: '#b97bf6',
    950: '#000000',
  },
}
SCSS
$custom: #b97bf6;
$custom-light: #d1a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b97bf6",
  "rgb": {
    "r": 185,
    "g": 123,
    "b": 246
  },
  "hsl": {
    "h": 270.244,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.6973,
    "c": 0.18175,
    "h": 305.5
  },
  "luminance": 0.31134
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B97BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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