#B997FD#B997FD

#B997FD is a light, vivid violet. Relative luminance 0.395; OKLCH L 74.7% C 0.147 H 298.1°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#B997FD
RGBrgb(185, 151, 253)
HSLhsl(260, 96%, 79%)
HSVhsv(260, 40%, 99%)
CMYKcmyk(26.9%, 40.3%, 0%, 0.8%)
CIE-LABlab(69.14, 33.39, -46.29)
CIE-LCHlch(69.14, 57.07, 305.80°)
OKLaboklab(74.73% 0.0691 -0.1293)
OKLCHoklch(74.73% 0.147 298.1)
XYZxyz(48.7997, 39.5390, 97.9703)
Luminance0.3954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B997FD #DBFD97
analogous
#97A8FD #B997FD #EC97FD
triadic
#B997FD #FDB997 #97FDB9
tetradic
#B997FD #FD97A8 #DBFD97 #97FDEC
square
#B997FD #FD97A8 #DBFD97 #97FDEC
split-complementary
#B997FD #FDEC97 #A8FD97
monochromatic
#681FFB #915BFC #B997FD #E1D3FE #EBE1FE

Accessibility & contrast

On white

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

On black

8.91
#B997FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B997FD
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B997FD#FFFFFF#000000##000000
##B997FD1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA9FF
Deuteranopia (green-blind)
#81A8FA
Tritanopia (blue-blind)
#ABA9BE
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b997fd;
/* rgb */ color: rgb(185, 151, 253);
/* oklch */ color: oklch(74.7% 0.147 298.1);
Tailwind
colors: {
  custom: {
    50: '#d0b6fe',
    500: '#b997fd',
    950: '#000000',
  },
}
SCSS
$custom: #b997fd;
$custom-light: #d0b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b997fd",
  "rgb": {
    "r": 185,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 260,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.7473,
    "c": 0.1466,
    "h": 298.1
  },
  "luminance": 0.39539
}

Semantic roles & 50–950 ramp

primary
#B997FD
secondary
#EBF7D4
accent
#E60099
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B997FD

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

Preview Lab → · Contrast checker → · Palette generator →

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