#B997DB#B997DB

#B997DB is a light, moderate violet. Relative luminance 0.376; OKLCH L 73.2% C 0.103 H 306.9°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#B997DB
RGBrgb(185, 151, 219)
HSLhsl(270, 49%, 73%)
HSVhsv(270, 31%, 86%)
CMYKcmyk(15.5%, 31.1%, 0%, 14.1%)
CIE-LABlab(67.70, 25.61, -29.89)
CIE-LCHlch(67.70, 39.36, 310.59°)
OKLaboklab(73.16% 0.0616 -0.0821)
OKLCHoklch(73.16% 0.103 306.9)
XYZxyz(43.8579, 37.5623, 71.9438)
Luminance0.3756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B997DB #B9DB97
analogous
#9797DB #B997DB #DB97DB
triadic
#B997DB #DBB997 #97DBB9
tetradic
#B997DB #DB9797 #B9DB97 #97DBDB
square
#B997DB #DB9797 #B9DB97 #97DBDB
split-complementary
#B997DB #DBDB97 #97DB97
monochromatic
#7C40B8 #9A6ACB #B997DB #D8C4EB #F0E8F7

Accessibility & contrast

On white

2.47
#B997DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#B997DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B997DB
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B997DB#FFFFFF#000000##000000
##B997DB1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA4DE
Deuteranopia (green-blind)
#91A5D9
Tritanopia (blue-blind)
#B4A1B0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b997db;
/* rgb */ color: rgb(185, 151, 219);
/* oklch */ color: oklch(73.2% 0.103 306.9);
Tailwind
colors: {
  custom: {
    50: '#cfb6e6',
    500: '#b997db',
    950: '#000000',
  },
}
SCSS
$custom: #b997db;
$custom-light: #cfb6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b997db",
  "rgb": {
    "r": 185,
    "g": 151,
    "b": 219
  },
  "hsl": {
    "h": 270,
    "s": 48.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73159,
    "c": 0.1027,
    "h": 306.9
  },
  "luminance": 0.37562
}

Semantic roles & 50–950 ramp

primary
#B997DB
secondary
#E6EEDD
accent
#BC2A73
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #B997DB

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

Preview Lab → · Contrast checker → · Palette generator →

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