#B97DEB#B97DEB

#B97DEB is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.5% C 0.166 H 307.8°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#B97DEB
RGBrgb(185, 125, 235)
HSLhsl(273, 73%, 71%)
HSVhsv(273, 47%, 92%)
CMYKcmyk(21.3%, 46.8%, 0%, 7.8%)
CIE-LABlab(62.49, 43.52, -46.88)
CIE-LCHlch(62.49, 63.97, 312.87°)
OKLaboklab(69.45% 0.1016 -0.1309)
OKLCHoklch(69.45% 0.166 307.8)
XYZxyz(42.3336, 30.9802, 82.3308)
Luminance0.3098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97DEB #AFEB7D
analogous
#827DEB #B97DEB #EB7DE6
triadic
#B97DEB #EBB97D #7DEBB9
tetradic
#B97DEB #EB827D #AFEB7D #7DE6EB
square
#B97DEB #EB827D #AFEB7D #7DE6EB
split-complementary
#B97DEB #E6EB7D #7DEB82
monochromatic
#7F20CE #9C48E3 #B97DEB #D6B2F3 #F1E4FB

Accessibility & contrast

On white

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

On black

7.20
#B97DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97DEB
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97DEB#FFFFFF#000000##000000
##B97DEB1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195EF
Deuteranopia (green-blind)
#7198E8
Tritanopia (blue-blind)
#B28FA9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b97deb;
/* rgb */ color: rgb(185, 125, 235);
/* oklch */ color: oklch(69.5% 0.166 307.8);
Tailwind
colors: {
  custom: {
    50: '#d0a4f2',
    500: '#b97deb',
    950: '#000000',
  },
}
SCSS
$custom: #b97deb;
$custom-light: #d0a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b97deb",
  "rgb": {
    "r": 185,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 272.727,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69454,
    "c": 0.16571,
    "h": 307.8
  },
  "luminance": 0.3098
}

Semantic roles & 50–950 ramp

primary
#B97DEB
secondary
#E1F1D3
accent
#D5106A
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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