#B97BEC#B97BEC

#B97BEC is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.2% C 0.170 H 307.9°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#B97BEC
RGBrgb(185, 123, 236)
HSLhsl(273, 75%, 70%)
HSVhsv(273, 48%, 93%)
CMYKcmyk(21.6%, 47.9%, 0%, 7.5%)
CIE-LABlab(62.11, 44.82, -48.03)
CIE-LCHlch(62.11, 65.69, 313.03°)
OKLaboklab(69.19% 0.1044 -0.1342)
OKLCHoklch(69.19% 0.17 307.9)
XYZxyz(42.2279, 30.5368, 83.0102)
Luminance0.3054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97BEC #AEEC7B
analogous
#807BEC #B97BEC #EC7BE7
triadic
#B97BEC #ECB97B #7BECB9
tetradic
#B97BEC #EC807B #AEEC7B #7BE7EC
square
#B97BEC #EC807B #AEEC7B #7BE7EC
split-complementary
#B97BEC #E7EC7B #7BEC80
monochromatic
#7F1ECF #9D46E4 #B97BEC #D5B0F4 #F1E4FB

Accessibility & contrast

On white

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

On black

7.11
#B97BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97BEC
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97BEC#FFFFFF#000000##000000
##B97BEC1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D94F0
Deuteranopia (green-blind)
#6F97E9
Tritanopia (blue-blind)
#B28EA8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b97bec;
/* rgb */ color: rgb(185, 123, 236);
/* oklch */ color: oklch(69.2% 0.170 307.9);
Tailwind
colors: {
  custom: {
    50: '#d0a3f2',
    500: '#b97bec',
    950: '#000000',
  },
}
SCSS
$custom: #b97bec;
$custom-light: #d0a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b97bec",
  "rgb": {
    "r": 185,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 272.92,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69189,
    "c": 0.17008,
    "h": 307.9
  },
  "luminance": 0.30536
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B97BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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