#B97FFE#B97FFE

#B97FFE is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.8% C 0.185 H 303.1°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#B97FFE
RGBrgb(185, 127, 254)
HSLhsl(267, 98%, 75%)
HSVhsv(267, 50%, 100%)
CMYKcmyk(27.2%, 50%, 0%, 0.4%)
CIE-LABlab(63.88, 46.79, -55.16)
CIE-LCHlch(63.88, 72.33, 310.31°)
OKLaboklab(70.8% 0.101 -0.155)
OKLCHoklch(70.8% 0.185 303.1)
XYZxyz(45.4824, 32.6488, 97.6524)
Luminance0.3265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97FFE #C4FE7F
analogous
#7F84FE #B97FFE #F97FFE
triadic
#B97FFE #FEB97F #7FFEB9
tetradic
#B97FFE #FE7F84 #C4FE7F #7FFEF9
square
#B97FFE #FE7F84 #C4FE7F #7FFEF9
split-complementary
#B97FFE #FEF97F #84FE7F
monochromatic
#7706FD #9842FE #B97FFE #DABCFE #EEE1FF

Accessibility & contrast

On white

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

On black

7.53
#B97FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97FFE
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97FFE#FFFFFF#000000##000000
##B97FFE1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b97ffe;
/* rgb */ color: rgb(185, 127, 254);
/* oklch */ color: oklch(70.8% 0.185 303.1);
Tailwind
colors: {
  custom: {
    50: '#d1a5ff',
    500: '#b97ffe',
    950: '#000000',
  },
}
SCSS
$custom: #b97ffe;
$custom-light: #d1a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b97ffe",
  "rgb": {
    "r": 185,
    "g": 127,
    "b": 254
  },
  "hsl": {
    "h": 267.402,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70797,
    "c": 0.18503,
    "h": 303.1
  },
  "luminance": 0.32649
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B97FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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