#B97EEB#B97EEB

#B97EEB is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.6% C 0.164 H 307.6°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#B97EEB
RGBrgb(185, 126, 235)
HSLhsl(272, 73%, 71%)
HSVhsv(272, 46%, 92%)
CMYKcmyk(21.3%, 46.4%, 0%, 7.8%)
CIE-LABlab(62.71, 42.98, -46.54)
CIE-LCHlch(62.71, 63.35, 312.72°)
OKLaboklab(69.61% 0.1002 -0.1299)
OKLCHoklch(69.61% 0.164 307.6)
XYZxyz(42.4609, 31.2346, 82.3732)
Luminance0.3123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97EEB #B0EB7E
analogous
#827EEB #B97EEB #EB7EE6
triadic
#B97EEB #EBB97E #7EEBB9
tetradic
#B97EEB #EB827E #B0EB7E #7EE6EB
square
#B97EEB #EB827E #B0EB7E #7EE6EB
split-complementary
#B97EEB #E6EB7E #7EEB82
monochromatic
#7F20CF #9C49E3 #B97EEB #D6B3F3 #F1E5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B97EEB#FFFFFF#000000##000000
##B97EEB1.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)
#6295EF
Deuteranopia (green-blind)
#7298E8
Tritanopia (blue-blind)
#B290A9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b97eeb;
/* rgb */ color: rgb(185, 126, 235);
/* oklch */ color: oklch(69.6% 0.164 307.6);
Tailwind
colors: {
  custom: {
    50: '#d0a5f2',
    500: '#b97eeb',
    950: '#000000',
  },
}
SCSS
$custom: #b97eeb;
$custom-light: #d0a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b97eeb",
  "rgb": {
    "r": 185,
    "g": 126,
    "b": 235
  },
  "hsl": {
    "h": 272.477,
    "s": 73.154,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69614,
    "c": 0.16411,
    "h": 307.6
  },
  "luminance": 0.31234
}

Semantic roles & 50–950 ramp

primary
#B97EEB
secondary
#E1F1D4
accent
#D5106B
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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