#B97BFB#B97BFB

#B97BFB is a light, vivid violet. Relative luminance 0.314; OKLCH L 70.0% C 0.188 H 304.4°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#B97BFB
RGBrgb(185, 123, 251)
HSLhsl(269, 94%, 73%)
HSVhsv(269, 51%, 98%)
CMYKcmyk(26.3%, 51%, 0%, 1.6%)
CIE-LABlab(62.88, 48.24, -55.09)
CIE-LCHlch(62.88, 73.22, 311.21°)
OKLaboklab(70.01% 0.1059 -0.1548)
OKLCHoklch(70.01% 0.188 304.4)
XYZxyz(44.4994, 31.4454, 94.9733)
Luminance0.3145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97BFB #BDFB7B
analogous
#7B7DFB #B97BFB #F97BFB
triadic
#B97BFB #FBB97B #7BFBB9
tetradic
#B97BFB #FB7B7D #BDFB7B #7BFBF9
square
#B97BFB #FB7B7D #BDFB7B #7BFBF9
split-complementary
#B97BFB #FBF97B #7DFB7B
monochromatic
#7A07F4 #9A40F9 #B97BFB #D8B6FD #EFE1FE

Accessibility & contrast

On white

2.88
#B97BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#B97BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97BFB
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97BFB#FFFFFF#000000##000000
##B97BFB1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5296FF
Deuteranopia (green-blind)
#6498F8
Tritanopia (blue-blind)
#AE92B0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b97bfb;
/* rgb */ color: rgb(185, 123, 251);
/* oklch */ color: oklch(70.0% 0.188 304.4);
Tailwind
colors: {
  custom: {
    50: '#d1a3fd',
    500: '#b97bfb',
    950: '#000000',
  },
}
SCSS
$custom: #b97bfb;
$custom-light: #d1a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b97bfb",
  "rgb": {
    "r": 185,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 269.063,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70009,
    "c": 0.18758,
    "h": 304.4
  },
  "luminance": 0.31445
}

Semantic roles & 50–950 ramp

primary
#B97BFB
secondary
#E6F6D5
accent
#E60076
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B97BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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