#B97BDC#B97BDC

#B97BDC is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.4% C 0.152 H 312.4°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#B97BDC
RGBrgb(185, 123, 220)
HSLhsl(278, 58%, 67%)
HSVhsv(278, 44%, 86%)
CMYKcmyk(15.9%, 44.1%, 0%, 13.7%)
CIE-LABlab(61.35, 41.31, -40.32)
CIE-LCHlch(61.35, 57.73, 315.69°)
OKLaboklab(68.37% 0.1022 -0.1119)
OKLCHoklch(68.37% 0.152 312.4)
XYZxyz(40.0066, 29.6483, 71.3115)
Luminance0.2965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97BDC #9EDC7B
analogous
#897BDC #B97BDC #DC7BCE
triadic
#B97BDC #DCB97B #7BDCB9
tetradic
#B97BDC #DC897B #9EDC7B #7BCEDC
square
#B97BDC #DC897B #9EDC7B #7BCEDC
split-complementary
#B97BDC #CEDC7B #7BDC89
monochromatic
#802EAE #9F4BCF #B97BDC #D3ABE9 #ECDCF6

Accessibility & contrast

On white

3.03
#B97BDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#B97BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B97BDC
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97BDC#FFFFFF#000000##000000
##B97BDC1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6791DF
Deuteranopia (green-blind)
#7796D9
Tritanopia (blue-blind)
#B689A1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b97bdc;
/* rgb */ color: rgb(185, 123, 220);
/* oklch */ color: oklch(68.4% 0.152 312.4);
Tailwind
colors: {
  custom: {
    50: '#d0a2e7',
    500: '#b97bdc',
    950: '#000000',
  },
}
SCSS
$custom: #b97bdc;
$custom-light: #d0a2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b97bdc",
  "rgb": {
    "r": 185,
    "g": 123,
    "b": 220
  },
  "hsl": {
    "h": 278.351,
    "s": 58.084,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68368,
    "c": 0.15154,
    "h": 312.4
  },
  "luminance": 0.29648
}

Semantic roles & 50–950 ramp

primary
#B97BDC
secondary
#D5E9CA
accent
#C6205C
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B97BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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