#B97AE7#B97AE7

#B97AE7 is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.8% C 0.166 H 309.3°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#B97AE7
RGBrgb(185, 122, 231)
HSLhsl(275, 69%, 69%)
HSVhsv(275, 47%, 91%)
CMYKcmyk(19.9%, 47.2%, 0%, 9.4%)
CIE-LABlab(61.66, 44.25, -45.97)
CIE-LCHlch(61.66, 63.81, 313.91°)
OKLaboklab(68.77% 0.1052 -0.1283)
OKLCHoklch(68.77% 0.166 309.3)
XYZxyz(41.3882, 30.0035, 79.1967)
Luminance0.3000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97AE7 #A8E77A
analogous
#837AE7 #B97AE7 #E77ADF
triadic
#B97AE7 #E7B97A #7AE7B9
tetradic
#B97AE7 #E7837A #A8E77A #7ADFE7
square
#B97AE7 #E7837A #A8E77A #7ADFE7
split-complementary
#B97AE7 #DFE77A #7AE783
monochromatic
#8023C3 #9E46DE #B97AE7 #D4AEF0 #F0E2FA

Accessibility & contrast

On white

3.00
#B97AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#B97AE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97AE7
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97AE7#FFFFFF#000000##000000
##B97AE71.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b97ae7;
/* rgb */ color: rgb(185, 122, 231);
/* oklch */ color: oklch(68.8% 0.166 309.3);
Tailwind
colors: {
  custom: {
    50: '#d0a2ef',
    500: '#b97ae7',
    950: '#000000',
  },
}
SCSS
$custom: #b97ae7;
$custom-light: #d0a2ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b97ae7",
  "rgb": {
    "r": 185,
    "g": 122,
    "b": 231
  },
  "hsl": {
    "h": 274.679,
    "s": 69.427,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68769,
    "c": 0.16587,
    "h": 309.3
  },
  "luminance": 0.30003
}

Semantic roles & 50–950 ramp

primary
#B97AE7
secondary
#DCEECF
accent
#D11464
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #B97AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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