#B97BEB#B97BEB

#B97BEB is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.1% C 0.169 H 308.1°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#B97BEB
RGBrgb(185, 123, 235)
HSLhsl(273, 74%, 70%)
HSVhsv(273, 48%, 92%)
CMYKcmyk(21.3%, 47.7%, 0%, 7.8%)
CIE-LABlab(62.07, 44.60, -47.55)
CIE-LCHlch(62.07, 65.19, 313.17°)
OKLaboklab(69.14% 0.1043 -0.1329)
OKLCHoklch(69.14% 0.169 308.1)
XYZxyz(42.0830, 30.4789, 82.2472)
Luminance0.3048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97BEB #ADEB7B
analogous
#817BEB #B97BEB #EB7BE5
triadic
#B97BEB #EBB97B #7BEBB9
tetradic
#B97BEB #EB817B #ADEB7B #7BE5EB
square
#B97BEB #EB817B #ADEB7B #7BE5EB
split-complementary
#B97BEB #E5EB7B #7BEB81
monochromatic
#7F1FCD #9D46E3 #B97BEB #D5B0F3 #F1E4FB

Accessibility & contrast

On white

2.96
#B97BEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#B97BEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97BEB
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97BEB#FFFFFF#000000##000000
##B97BEB1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b97beb;
/* rgb */ color: rgb(185, 123, 235);
/* oklch */ color: oklch(69.1% 0.169 308.1);
Tailwind
colors: {
  custom: {
    50: '#d0a3f2',
    500: '#b97beb',
    950: '#000000',
  },
}
SCSS
$custom: #b97beb;
$custom-light: #d0a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b97beb",
  "rgb": {
    "r": 185,
    "g": 123,
    "b": 235
  },
  "hsl": {
    "h": 273.214,
    "s": 73.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69136,
    "c": 0.16891,
    "h": 308.1
  },
  "luminance": 0.30478
}

Semantic roles & 50–950 ramp

primary
#B97BEB
secondary
#DFF0D1
accent
#D61068
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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