#B97FF1#B97FF1

#B97FF1 is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.1% C 0.170 H 306.0°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#B97FF1
RGBrgb(185, 127, 241)
HSLhsl(271, 80%, 72%)
HSVhsv(271, 47%, 95%)
CMYKcmyk(23.2%, 47.3%, 0%, 5.5%)
CIE-LABlab(63.21, 43.79, -49.05)
CIE-LCHlch(63.21, 65.76, 311.76°)
OKLaboklab(70.09% 0.0996 -0.1372)
OKLCHoklch(70.09% 0.17 306)
XYZxyz(43.4709, 31.8442, 87.0585)
Luminance0.3184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97FF1 #B7F17F
analogous
#807FF1 #B97FF1 #F17FF0
triadic
#B97FF1 #F1B97F #7FF1B9
tetradic
#B97FF1 #F1807F #B7F17F #7FF0F1
square
#B97FF1 #F1807F #B7F17F #7FF0F1
split-complementary
#B97FF1 #F0F17F #7FF180
monochromatic
#7D18DD #9B48EB #B97FF1 #D7B6F7 #F0E3FC

Accessibility & contrast

On white

2.85
#B97FF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#B97FF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97FF1
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97FF1#FFFFFF#000000##000000
##B97FF11.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6097F5
Deuteranopia (green-blind)
#6F99EE
Tritanopia (blue-blind)
#B092AD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b97ff1;
/* rgb */ color: rgb(185, 127, 241);
/* oklch */ color: oklch(70.1% 0.170 306.0);
Tailwind
colors: {
  custom: {
    50: '#d0a5f6',
    500: '#b97ff1',
    950: '#000000',
  },
}
SCSS
$custom: #b97ff1;
$custom-light: #d0a5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b97ff1",
  "rgb": {
    "r": 185,
    "g": 127,
    "b": 241
  },
  "hsl": {
    "h": 270.526,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70089,
    "c": 0.1696,
    "h": 306
  },
  "luminance": 0.31844
}

Semantic roles & 50–950 ramp

primary
#B97FF1
secondary
#E5F4D7
accent
#DD0971
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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