#B97AED#B97AED

#B97AED is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.1% C 0.173 H 307.8°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#B97AED
RGBrgb(185, 122, 237)
HSLhsl(273, 76%, 70%)
HSVhsv(273, 49%, 93%)
CMYKcmyk(21.9%, 48.5%, 0%, 7.1%)
CIE-LABlab(61.95, 45.59, -48.83)
CIE-LCHlch(61.95, 66.81, 313.03°)
OKLaboklab(69.09% 0.1059 -0.1366)
OKLCHoklch(69.09% 0.173 307.8)
XYZxyz(42.2502, 30.3483, 83.7364)
Luminance0.3035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97AED #AEED7A
analogous
#807AED #B97AED #ED7AE7
triadic
#B97AED #EDB97A #7AEDB9
tetradic
#B97AED #ED807A #AEED7A #7AE7ED
square
#B97AED #ED807A #AEED7A #7AE7ED
split-complementary
#B97AED #E7ED7A #7AED80
monochromatic
#7F1CD0 #9D44E6 #B97AED #D5B0F4 #F1E4FB

Accessibility & contrast

On white

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

On black

7.07
#B97AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97AED
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97AED#FFFFFF#000000##000000
##B97AED1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F1
Deuteranopia (green-blind)
#6D96EA
Tritanopia (blue-blind)
#B28DA9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b97aed;
/* rgb */ color: rgb(185, 122, 237);
/* oklch */ color: oklch(69.1% 0.173 307.8);
Tailwind
colors: {
  custom: {
    50: '#d0a2f3',
    500: '#b97aed',
    950: '#000000',
  },
}
SCSS
$custom: #b97aed;
$custom-light: #d0a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b97aed",
  "rgb": {
    "r": 185,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 272.87,
    "s": 76.159,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69086,
    "c": 0.17283,
    "h": 307.8
  },
  "luminance": 0.30348
}

Semantic roles & 50–950 ramp

primary
#B97AED
secondary
#E0F1D2
accent
#D80D69
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97AED

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

Preview Lab → · Contrast checker → · Palette generator →

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