#B997FF#B997FF

#B997FF is a light, vivid violet. Relative luminance 0.397; OKLCH L 74.8% C 0.149 H 297.8°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#B997FF
RGBrgb(185, 151, 255)
HSLhsl(260, 100%, 80%)
HSVhsv(260, 41%, 100%)
CMYKcmyk(27.5%, 40.8%, 0%, 0%)
CIE-LABlab(69.23, 33.87, -47.23)
CIE-LCHlch(69.23, 58.12, 305.64°)
OKLaboklab(74.83% 0.0695 -0.132)
OKLCHoklch(74.83% 0.149 297.8)
XYZxyz(49.1199, 39.6671, 99.6570)
Luminance0.3967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B997FF #DDFF97
analogous
#97A9FF #B997FF #ED97FF
triadic
#B997FF #FFB997 #97FFB9
tetradic
#B997FF #FF97A9 #DDFF97 #97FFED
square
#B997FF #FF97A9 #DDFF97 #97FFED
split-complementary
#B997FF #FFED97 #A9FF97
monochromatic
#671DFF #905AFF #B997FF #E2D4FF #EAE0FF

Accessibility & contrast

On white

2.35
#B997FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#B997FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B997FF
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B997FF#FFFFFF#000000##000000
##B997FF1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#80A8FC
Tritanopia (blue-blind)
#ABA9BF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b997ff;
/* rgb */ color: rgb(185, 151, 255);
/* oklch */ color: oklch(74.8% 0.149 297.8);
Tailwind
colors: {
  custom: {
    50: '#d0b6ff',
    500: '#b997ff',
    950: '#000000',
  },
}
SCSS
$custom: #b997ff;
$custom-light: #d0b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b997ff",
  "rgb": {
    "r": 185,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 259.615,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.7483,
    "c": 0.14919,
    "h": 297.8
  },
  "luminance": 0.39668
}

Semantic roles & 50–950 ramp

primary
#B997FF
secondary
#ECF7D4
accent
#E6009A
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #B997FF

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

Preview Lab → · Contrast checker → · Palette generator →

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