#B97CEE#B97CEE

#B97CEE is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.5% C 0.171 H 307.2°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#B97CEE
RGBrgb(185, 124, 238)
HSLhsl(272, 77%, 71%)
HSVhsv(272, 48%, 93%)
CMYKcmyk(22.3%, 47.9%, 0%, 6.7%)
CIE-LABlab(62.43, 44.73, -48.64)
CIE-LCHlch(62.43, 66.09, 312.60°)
OKLaboklab(69.45% 0.1033 -0.136)
OKLCHoklch(69.45% 0.171 307.2)
XYZxyz(42.6448, 30.9031, 84.5907)
Luminance0.3090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97CEE #B1EE7C
analogous
#807CEE #B97CEE #EE7CEA
triadic
#B97CEE #EEB97C #7CEEB9
tetradic
#B97CEE #EE807C #B1EE7C #7CEAEE
square
#B97CEE #EE807C #B1EE7C #7CEAEE
split-complementary
#B97CEE #EAEE7C #7CEE80
monochromatic
#7E1CD4 #9C46E7 #B97CEE #D6B2F5 #F1E4FB

Accessibility & contrast

On white

2.92
#B97CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#B97CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97CEE
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97CEE#FFFFFF#000000##000000
##B97CEE1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E95F2
Deuteranopia (green-blind)
#6E98EB
Tritanopia (blue-blind)
#B18FAA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b97cee;
/* rgb */ color: rgb(185, 124, 238);
/* oklch */ color: oklch(69.5% 0.171 307.2);
Tailwind
colors: {
  custom: {
    50: '#d0a3f4',
    500: '#b97cee',
    950: '#000000',
  },
}
SCSS
$custom: #b97cee;
$custom-light: #d0a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b97cee",
  "rgb": {
    "r": 185,
    "g": 124,
    "b": 238
  },
  "hsl": {
    "h": 272.105,
    "s": 77.027,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69453,
    "c": 0.17082,
    "h": 307.2
  },
  "luminance": 0.30903
}

Semantic roles & 50–950 ramp

primary
#B97CEE
secondary
#E2F2D4
accent
#D90C6C
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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