#B97BEE#B97BEE

#B97BEE is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.3% C 0.172 H 307.4°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#B97BEE
RGBrgb(185, 123, 238)
HSLhsl(272, 77%, 71%)
HSVhsv(272, 48%, 93%)
CMYKcmyk(22.3%, 48.3%, 0%, 6.7%)
CIE-LABlab(62.21, 45.27, -48.98)
CIE-LCHlch(62.21, 66.70, 312.75°)
OKLaboklab(69.3% 0.1047 -0.137)
OKLCHoklch(69.3% 0.172 307.4)
XYZxyz(42.5201, 30.6537, 84.5491)
Luminance0.3065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97BEE #B0EE7B
analogous
#7F7BEE #B97BEE #EE7BE9
triadic
#B97BEE #EEB97B #7BEEB9
tetradic
#B97BEE #EE7F7B #B0EE7B #7BE9EE
square
#B97BEE #EE7F7B #B0EE7B #7BE9EE
split-complementary
#B97BEE #E9EE7B #7BEE7F
monochromatic
#7F1BD3 #9C45E7 #B97BEE #D6B1F5 #F1E4FC

Accessibility & contrast

On white

2.95
#B97BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#B97BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97BEE
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97BEE#FFFFFF#000000##000000
##B97BEE1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b97bee;
/* rgb */ color: rgb(185, 123, 238);
/* oklch */ color: oklch(69.3% 0.172 307.4);
Tailwind
colors: {
  custom: {
    50: '#d0a3f4',
    500: '#b97bee',
    950: '#000000',
  },
}
SCSS
$custom: #b97bee;
$custom-light: #d0a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b97bee",
  "rgb": {
    "r": 185,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 272.348,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69296,
    "c": 0.1724,
    "h": 307.4
  },
  "luminance": 0.30653
}

Semantic roles & 50–950 ramp

primary
#B97BEE
secondary
#E1F2D3
accent
#D90C6B
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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