#B97FFF#B97FFF

#B97FFF is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.9% C 0.186 H 302.9°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#B97FFF
RGBrgb(185, 127, 255)
HSLhsl(267, 100%, 75%)
HSVhsv(267, 50%, 100%)
CMYKcmyk(27.5%, 50.2%, 0%, 0%)
CIE-LABlab(63.93, 47.03, -55.62)
CIE-LCHlch(63.93, 72.84, 310.21°)
OKLaboklab(70.85% 0.1011 -0.1564)
OKLCHoklch(70.85% 0.186 302.9)
XYZxyz(45.6429, 32.7131, 98.4980)
Luminance0.3271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97FFF #C5FF7F
analogous
#7F85FF #B97FFF #F97FFF
triadic
#B97FFF #FFB97F #7FFFB9
tetradic
#B97FFF #FF7F85 #C5FF7F #7FFFF9
square
#B97FFF #FF7F85 #C5FF7F #7FFFF9
split-complementary
#B97FFF #FFF97F #85FF7F
monochromatic
#7605FF #9842FF #B97FFF #DABCFF #EEE0FF

Accessibility & contrast

On white

2.78
#B97FFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#B97FFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97FFF
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97FFF#FFFFFF#000000##000000
##B97FFF1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#569AFF
Deuteranopia (green-blind)
#669BFC
Tritanopia (blue-blind)
#AC96B3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b97fff;
/* rgb */ color: rgb(185, 127, 255);
/* oklch */ color: oklch(70.9% 0.186 302.9);
Tailwind
colors: {
  custom: {
    50: '#d1a5ff',
    500: '#b97fff',
    950: '#000000',
  },
}
SCSS
$custom: #b97fff;
$custom-light: #d1a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b97fff",
  "rgb": {
    "r": 185,
    "g": 127,
    "b": 255
  },
  "hsl": {
    "h": 267.188,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70853,
    "c": 0.18621,
    "h": 302.9
  },
  "luminance": 0.32713
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B97FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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