#B97FFD#B97FFD

#B97FFD is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.7% C 0.184 H 303.3°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#B97FFD
RGBrgb(185, 127, 253)
HSLhsl(268, 97%, 75%)
HSVhsv(268, 50%, 99%)
CMYKcmyk(26.9%, 49.8%, 0%, 0.8%)
CIE-LABlab(63.82, 46.56, -54.69)
CIE-LCHlch(63.82, 71.83, 310.41°)
OKLaboklab(70.74% 0.1009 -0.1537)
OKLCHoklch(70.74% 0.184 303.3)
XYZxyz(45.3227, 32.5849, 96.8113)
Luminance0.3258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97FFD #C3FD7F
analogous
#7F84FD #B97FFD #F87FFD
triadic
#B97FFD #FDB97F #7FFDB9
tetradic
#B97FFD #FD7F84 #C3FD7F #7FFDF8
square
#B97FFD #FD7F84 #C3FD7F #7FFDF8
split-complementary
#B97FFD #FDF87F #84FD7F
monochromatic
#7706FB #9843FC #B97FFD #DABBFE #EFE1FF

Accessibility & contrast

On white

2.79
#B97FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#B97FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97FFD
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97FFD#FFFFFF#000000##000000
##B97FFD1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5799FF
Deuteranopia (green-blind)
#679AFA
Tritanopia (blue-blind)
#AD96B2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b97ffd;
/* rgb */ color: rgb(185, 127, 253);
/* oklch */ color: oklch(70.7% 0.184 303.3);
Tailwind
colors: {
  custom: {
    50: '#d1a5fe',
    500: '#b97ffd',
    950: '#000000',
  },
}
SCSS
$custom: #b97ffd;
$custom-light: #d1a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b97ffd",
  "rgb": {
    "r": 185,
    "g": 127,
    "b": 253
  },
  "hsl": {
    "h": 267.619,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70741,
    "c": 0.18384,
    "h": 303.3
  },
  "luminance": 0.32585
}

Semantic roles & 50–950 ramp

primary
#B97FFD
secondary
#E7F7D4
accent
#E6007C
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B97FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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