#B97AE8#B97AE8

#B97AE8 is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.8% C 0.167 H 309.1°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#B97AE8
RGBrgb(185, 122, 232)
HSLhsl(274, 71%, 69%)
HSVhsv(274, 47%, 91%)
CMYKcmyk(20.3%, 47.4%, 0%, 9%)
CIE-LABlab(61.71, 44.47, -46.45)
CIE-LCHlch(61.71, 64.31, 313.75°)
OKLaboklab(68.82% 0.1053 -0.1297)
OKLCHoklch(68.82% 0.167 309.1)
XYZxyz(41.5298, 30.0601, 79.9427)
Luminance0.3006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97AE8 #A9E87A
analogous
#827AE8 #B97AE8 #E87AE0
triadic
#B97AE8 #E8B97A #7AE8B9
tetradic
#B97AE8 #E8827A #A9E87A #7AE0E8
square
#B97AE8 #E8827A #A9E87A #7AE0E8
split-complementary
#B97AE8 #E0E87A #7AE882
monochromatic
#8022C5 #9E46DF #B97AE8 #D4AEF1 #F0E2FA

Accessibility & contrast

On white

2.99
#B97AE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#B97AE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97AE8
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97AE8#FFFFFF#000000##000000
##B97AE81.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F92EC
Deuteranopia (green-blind)
#7096E5
Tritanopia (blue-blind)
#B38CA6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b97ae8;
/* rgb */ color: rgb(185, 122, 232);
/* oklch */ color: oklch(68.8% 0.167 309.1);
Tailwind
colors: {
  custom: {
    50: '#d0a2f0',
    500: '#b97ae8',
    950: '#000000',
  },
}
SCSS
$custom: #b97ae8;
$custom-light: #d0a2f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b97ae8",
  "rgb": {
    "r": 185,
    "g": 122,
    "b": 232
  },
  "hsl": {
    "h": 274.364,
    "s": 70.513,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68821,
    "c": 0.16703,
    "h": 309.1
  },
  "luminance": 0.3006
}

Semantic roles & 50–950 ramp

primary
#B97AE8
secondary
#DDEFCF
accent
#D31365
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #B97AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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