#B97BF7#B97BF7

#B97BF7 is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.8% C 0.183 H 305.2°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#B97BF7
RGBrgb(185, 123, 247)
HSLhsl(270, 89%, 73%)
HSVhsv(270, 50%, 97%)
CMYKcmyk(25.1%, 50.2%, 0%, 3.1%)
CIE-LABlab(62.67, 47.32, -53.22)
CIE-LCHlch(62.67, 71.21, 311.64°)
OKLaboklab(69.79% 0.1056 -0.1494)
OKLCHoklch(69.79% 0.183 305.2)
XYZxyz(43.8755, 31.1959, 91.6876)
Luminance0.3120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97BF7 #B9F77B
analogous
#7B7BF7 #B97BF7 #F77BF7
triadic
#B97BF7 #F7B97B #7BF7B9
tetradic
#B97BF7 #F77B7B #B9F77B #7BF7F7
square
#B97BF7 #F77B7B #B9F77B #7BF7F7
split-complementary
#B97BF7 #F7F77B #7BF77B
monochromatic
#7C0EE9 #9A41F4 #B97BF7 #D8B5FA #F0E2FD

Accessibility & contrast

On white

2.90
#B97BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#B97BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97BF7
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97BF7#FFFFFF#000000##000000
##B97BF71.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FB
Deuteranopia (green-blind)
#6798F4
Tritanopia (blue-blind)
#AF91AE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b97bf7;
/* rgb */ color: rgb(185, 123, 247);
/* oklch */ color: oklch(69.8% 0.183 305.2);
Tailwind
colors: {
  custom: {
    50: '#d1a3fa',
    500: '#b97bf7',
    950: '#000000',
  },
}
SCSS
$custom: #b97bf7;
$custom-light: #d1a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b97bf7",
  "rgb": {
    "r": 185,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 270,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69786,
    "c": 0.18292,
    "h": 305.2
  },
  "luminance": 0.31196
}

Semantic roles & 50–950 ramp

primary
#B97BF7
secondary
#E6F5D6
accent
#E50073
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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