#B97FDB#B97FDB

#B97FDB is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.0% C 0.144 H 312.1°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#B97FDB
RGBrgb(185, 127, 219)
HSLhsl(278, 56%, 68%)
HSVhsv(278, 42%, 86%)
CMYKcmyk(15.5%, 42%, 0%, 14.1%)
CIE-LABlab(62.18, 38.92, -38.47)
CIE-LCHlch(62.18, 54.72, 315.33°)
OKLaboklab(68.97% 0.0963 -0.1066)
OKLCHoklch(68.97% 0.144 312.1)
XYZxyz(40.3809, 30.6083, 70.7848)
Luminance0.3061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97FDB #A1DB7F
analogous
#8B7FDB #B97FDB #DB7FCF
triadic
#B97FDB #DBB97F #7FDBB9
tetradic
#B97FDB #DB8B7F #A1DB7F #7FCFDB
square
#B97FDB #DB8B7F #A1DB7F #7FCFDB
split-complementary
#B97FDB #CFDB7F #7FDB8B
monochromatic
#8031AF #9F4FCE #B97FDB #D3AFE8 #EDDFF6

Accessibility & contrast

On white

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

On black

7.12
#B97FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97FDB
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97FDB#FFFFFF#000000##000000
##B97FDB1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D93DE
Deuteranopia (green-blind)
#7B98D8
Tritanopia (blue-blind)
#B68CA3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b97fdb;
/* rgb */ color: rgb(185, 127, 219);
/* oklch */ color: oklch(69.0% 0.144 312.1);
Tailwind
colors: {
  custom: {
    50: '#cfa5e6',
    500: '#b97fdb',
    950: '#000000',
  },
}
SCSS
$custom: #b97fdb;
$custom-light: #cfa5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b97fdb",
  "rgb": {
    "r": 185,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 277.826,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68973,
    "c": 0.14366,
    "h": 312.1
  },
  "luminance": 0.30608
}

Semantic roles & 50–950 ramp

primary
#B97FDB
secondary
#D7E9CD
accent
#C4225E
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B97FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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