#B97AEE#B97AEE

#B97AEE is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.1% C 0.174 H 307.5°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#B97AEE
RGBrgb(185, 122, 238)
HSLhsl(273, 77%, 71%)
HSVhsv(273, 49%, 93%)
CMYKcmyk(22.3%, 48.7%, 0%, 6.7%)
CIE-LABlab(62.00, 45.81, -49.31)
CIE-LCHlch(62.00, 67.31, 312.89°)
OKLaboklab(69.14% 0.106 -0.138)
OKLCHoklch(69.14% 0.174 307.5)
XYZxyz(42.3967, 30.4069, 84.5080)
Luminance0.3041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97AEE #AFEE7A
analogous
#7F7AEE #B97AEE #EE7AE9
triadic
#B97AEE #EEB97A #7AEEB9
tetradic
#B97AEE #EE7F7A #AFEE7A #7AE9EE
square
#B97AEE #EE7F7A #AFEE7A #7AE9EE
split-complementary
#B97AEE #E9EE7A #7AEE7F
monochromatic
#7F1BD3 #9C44E7 #B97AEE #D6B0F5 #F1E4FC

Accessibility & contrast

On white

2.97
#B97AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#B97AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97AEE
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97AEE#FFFFFF#000000##000000
##B97AEE1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F2
Deuteranopia (green-blind)
#6C97EB
Tritanopia (blue-blind)
#B18EA9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b97aee;
/* rgb */ color: rgb(185, 122, 238);
/* oklch */ color: oklch(69.1% 0.174 307.5);
Tailwind
colors: {
  custom: {
    50: '#d0a2f4',
    500: '#b97aee',
    950: '#000000',
  },
}
SCSS
$custom: #b97aee;
$custom-light: #d0a2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b97aee",
  "rgb": {
    "r": 185,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 272.586,
    "s": 77.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69139,
    "c": 0.17399,
    "h": 307.5
  },
  "luminance": 0.30406
}

Semantic roles & 50–950 ramp

primary
#B97AEE
secondary
#E1F2D2
accent
#DA0C6A
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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