#B97BDF#B97BDF

#B97BDF is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.5% C 0.155 H 311.5°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#B97BDF
RGBrgb(185, 123, 223)
HSLhsl(277, 61%, 68%)
HSVhsv(277, 45%, 87%)
CMYKcmyk(17%, 44.8%, 0%, 12.5%)
CIE-LABlab(61.49, 41.96, -41.78)
CIE-LCHlch(61.49, 59.21, 315.12°)
OKLaboklab(68.52% 0.1027 -0.1161)
OKLCHoklch(68.52% 0.155 311.5)
XYZxyz(40.4075, 29.8087, 73.4227)
Luminance0.2981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97BDF #A1DF7B
analogous
#877BDF #B97BDF #DF7BD3
triadic
#B97BDF #DFB97B #7BDFB9
tetradic
#B97BDF #DF877B #A1DF7B #7BD3DF
square
#B97BDF #DF877B #A1DF7B #7BD3DF
split-complementary
#B97BDF #D3DF7B #7BDF87
monochromatic
#802CB4 #9F4AD3 #B97BDF #D3ACEB #EDDEF7

Accessibility & contrast

On white

3.02
#B97BDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#B97BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B97BDF
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97BDF#FFFFFF#000000##000000
##B97BDF1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6591E3
Deuteranopia (green-blind)
#7696DC
Tritanopia (blue-blind)
#B58AA2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b97bdf;
/* rgb */ color: rgb(185, 123, 223);
/* oklch */ color: oklch(68.5% 0.155 311.5);
Tailwind
colors: {
  custom: {
    50: '#d0a2e9',
    500: '#b97bdf',
    950: '#000000',
  },
}
SCSS
$custom: #b97bdf;
$custom-light: #d0a2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b97bdf",
  "rgb": {
    "r": 185,
    "g": 123,
    "b": 223
  },
  "hsl": {
    "h": 277.2,
    "s": 60.976,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68518,
    "c": 0.15499,
    "h": 311.5
  },
  "luminance": 0.29808
}

Semantic roles & 50–950 ramp

primary
#B97BDF
secondary
#D7EACB
accent
#C91D5E
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B97BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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