#B97EEE#B97EEE

#B97EEE is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.8% C 0.168 H 306.9°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#B97EEE
RGBrgb(185, 126, 238)
HSLhsl(272, 77%, 71%)
HSVhsv(272, 47%, 93%)
CMYKcmyk(22.3%, 47.1%, 0%, 6.7%)
CIE-LABlab(62.85, 43.65, -47.97)
CIE-LCHlch(62.85, 64.86, 312.30°)
OKLaboklab(69.77% 0.1006 -0.1341)
OKLCHoklch(69.77% 0.168 306.9)
XYZxyz(42.8979, 31.4094, 84.6751)
Luminance0.3141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97EEE #B3EE7E
analogous
#817EEE #B97EEE #EE7EEB
triadic
#B97EEE #EEB97E #7EEEB9
tetradic
#B97EEE #EE817E #B3EE7E #7EEBEE
square
#B97EEE #EE817E #B3EE7E #7EEBEE
split-complementary
#B97EEE #EBEE7E #7EEE81
monochromatic
#7E1CD5 #9C48E7 #B97EEE #D6B4F5 #F0E4FB

Accessibility & contrast

On white

2.88
#B97EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#B97EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97EEE
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97EEE#FFFFFF#000000##000000
##B97EEE1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6196F2
Deuteranopia (green-blind)
#7099EB
Tritanopia (blue-blind)
#B191AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b97eee;
/* rgb */ color: rgb(185, 126, 238);
/* oklch */ color: oklch(69.8% 0.168 306.9);
Tailwind
colors: {
  custom: {
    50: '#d0a5f4',
    500: '#b97eee',
    950: '#000000',
  },
}
SCSS
$custom: #b97eee;
$custom-light: #d0a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b97eee",
  "rgb": {
    "r": 185,
    "g": 126,
    "b": 238
  },
  "hsl": {
    "h": 271.607,
    "s": 76.712,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69771,
    "c": 0.16764,
    "h": 306.9
  },
  "luminance": 0.31409
}

Semantic roles & 50–950 ramp

primary
#B97EEE
secondary
#E3F2D5
accent
#D90D6D
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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