#B97BDB#B97BDB

#B97BDB is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.3% C 0.150 H 312.7°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#B97BDB
RGBrgb(185, 123, 219)
HSLhsl(279, 57%, 67%)
HSVhsv(279, 44%, 86%)
CMYKcmyk(15.5%, 43.8%, 0%, 14.1%)
CIE-LABlab(61.30, 41.10, -39.84)
CIE-LCHlch(61.30, 57.24, 315.89°)
OKLaboklab(68.32% 0.102 -0.1105)
OKLCHoklch(68.32% 0.15 312.7)
XYZxyz(39.8746, 29.5955, 70.6161)
Luminance0.2959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97BDB #9DDB7B
analogous
#897BDB #B97BDB #DB7BCD
triadic
#B97BDB #DBB97B #7BDBB9
tetradic
#B97BDB #DB897B #9DDB7B #7BCDDB
square
#B97BDB #DB897B #9DDB7B #7BCDDB
split-complementary
#B97BDB #CDDB7B #7BDB89
monochromatic
#802FAD #A04BCE #B97BDB #D3ABE8 #ECDBF5

Accessibility & contrast

On white

3.04
#B97BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#B97BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B97BDB
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97BDB#FFFFFF#000000##000000
##B97BDB1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6891DE
Deuteranopia (green-blind)
#7895D8
Tritanopia (blue-blind)
#B689A1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b97bdb;
/* rgb */ color: rgb(185, 123, 219);
/* oklch */ color: oklch(68.3% 0.150 312.7);
Tailwind
colors: {
  custom: {
    50: '#d0a2e6',
    500: '#b97bdb',
    950: '#000000',
  },
}
SCSS
$custom: #b97bdb;
$custom-light: #d0a2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b97bdb",
  "rgb": {
    "r": 185,
    "g": 123,
    "b": 219
  },
  "hsl": {
    "h": 278.75,
    "s": 57.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68319,
    "c": 0.15039,
    "h": 312.7
  },
  "luminance": 0.29595
}

Semantic roles & 50–950 ramp

primary
#B97BDB
secondary
#D4E8CA
accent
#C5215B
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B97BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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