#B97AFC#B97AFC

#B97AFC is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.9% C 0.190 H 304.3°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#B97AFC
RGBrgb(185, 122, 252)
HSLhsl(269, 96%, 73%)
HSVhsv(269, 52%, 99%)
CMYKcmyk(26.6%, 51.6%, 0%, 1.2%)
CIE-LABlab(62.73, 49.00, -55.88)
CIE-LCHlch(62.73, 74.33, 311.25°)
OKLaboklab(69.91% 0.1072 -0.1572)
OKLCHoklch(69.91% 0.19 304.3)
XYZxyz(44.5340, 31.2618, 95.7646)
Luminance0.3126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97AFC #BDFC7A
analogous
#7A7CFC #B97AFC #FA7AFC
triadic
#B97AFC #FCB97A #7AFCB9
tetradic
#B97AFC #FC7A7C #BDFC7A #7AFCFA
square
#B97AFC #FC7A7C #BDFC7A #7AFCFA
split-complementary
#B97AFC #FCFA7A #7CFC7A
monochromatic
#7A06F6 #993EFB #B97AFC #D8B6FD #EFE1FE

Accessibility & contrast

On white

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

On black

7.25
#B97AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97AFC
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97AFC#FFFFFF#000000##000000
##B97AFC1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5096FF
Deuteranopia (green-blind)
#6398F9
Tritanopia (blue-blind)
#AD92B0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b97afc;
/* rgb */ color: rgb(185, 122, 252);
/* oklch */ color: oklch(69.9% 0.190 304.3);
Tailwind
colors: {
  custom: {
    50: '#d1a2fe',
    500: '#b97afc',
    950: '#000000',
  },
}
SCSS
$custom: #b97afc;
$custom-light: #d1a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b97afc",
  "rgb": {
    "r": 185,
    "g": 122,
    "b": 252
  },
  "hsl": {
    "h": 269.077,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69912,
    "c": 0.19026,
    "h": 304.3
  },
  "luminance": 0.31262
}

Semantic roles & 50–950 ramp

primary
#B97AFC
secondary
#E6F7D4
accent
#E60076
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B97AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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