#B997FB#B997FB

#B997FB is a light, vivid violet. Relative luminance 0.394; OKLCH L 74.6% C 0.144 H 298.5°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#B997FB
RGBrgb(185, 151, 251)
HSLhsl(260, 93%, 79%)
HSVhsv(260, 40%, 98%)
CMYKcmyk(26.3%, 39.8%, 0%, 1.6%)
CIE-LABlab(69.05, 32.91, -45.34)
CIE-LCHlch(69.05, 56.03, 305.97°)
OKLaboklab(74.63% 0.0688 -0.1265)
OKLCHoklch(74.63% 0.144 298.5)
XYZxyz(48.4827, 39.4122, 96.3011)
Luminance0.3941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B997FB #D9FB97
analogous
#97A7FB #B997FB #EB97FB
triadic
#B997FB #FBB997 #97FBB9
tetradic
#B997FB #FB97A7 #D9FB97 #97FBEB
square
#B997FB #FB97A7 #D9FB97 #97FBEB
split-complementary
#B997FB #FBEB97 #A7FB97
monochromatic
#6A21F6 #915CF9 #B997FB #E1D2FD #EBE2FE

Accessibility & contrast

On white

2.36
#B997FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#B997FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B997FB
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B997FB#FFFFFF#000000##000000
##B997FB1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA9FF
Deuteranopia (green-blind)
#82A8F8
Tritanopia (blue-blind)
#ACA8BD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b997fb;
/* rgb */ color: rgb(185, 151, 251);
/* oklch */ color: oklch(74.6% 0.144 298.5);
Tailwind
colors: {
  custom: {
    50: '#d0b6fd',
    500: '#b997fb',
    950: '#000000',
  },
}
SCSS
$custom: #b997fb;
$custom-light: #d0b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b997fb",
  "rgb": {
    "r": 185,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 260.4,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.74632,
    "c": 0.14401,
    "h": 298.5
  },
  "luminance": 0.39413
}

Semantic roles & 50–950 ramp

primary
#B997FB
secondary
#EBF6D5
accent
#E60097
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B997FB

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

Preview Lab → · Contrast checker → · Palette generator →

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