#B997EE#B997EE

#B997EE is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.0% C 0.127 H 301.3°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#B997EE
RGBrgb(185, 151, 238)
HSLhsl(263, 72%, 76%)
HSVhsv(263, 37%, 93%)
CMYKcmyk(22.3%, 36.6%, 0%, 6.7%)
CIE-LABlab(68.48, 29.87, -39.14)
CIE-LCHlch(68.48, 49.24, 307.35°)
OKLaboklab(74.01% 0.0662 -0.1086)
OKLCHoklch(74.01% 0.127 301.3)
XYZxyz(46.5035, 38.6205, 85.8769)
Luminance0.3862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B997EE #CCEE97
analogous
#97A1EE #B997EE #E597EE
triadic
#B997EE #EEB997 #97EEB9
tetradic
#B997EE #EE97A1 #CCEE97 #97EEE5
square
#B997EE #EE97A1 #CCEE97 #97EEE5
split-complementary
#B997EE #EEE597 #A1EE97
monochromatic
#722EDD #9662E5 #B997EE #DCCCF7 #EDE5FB

Accessibility & contrast

On white

2.41
#B997EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#B997EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B997EE
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B997EE#FFFFFF#000000##000000
##B997EE1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A6F1
Deuteranopia (green-blind)
#89A7EC
Tritanopia (blue-blind)
#B0A5B7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b997ee;
/* rgb */ color: rgb(185, 151, 238);
/* oklch */ color: oklch(74.0% 0.127 301.3);
Tailwind
colors: {
  custom: {
    50: '#cfb6f4',
    500: '#b997ee',
    950: '#000000',
  },
}
SCSS
$custom: #b997ee;
$custom-light: #cfb6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b997ee",
  "rgb": {
    "r": 185,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 263.448,
    "s": 71.901,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74009,
    "c": 0.12718,
    "h": 301.3
  },
  "luminance": 0.38621
}

Semantic roles & 50–950 ramp

primary
#B997EE
secondary
#E8F2D9
accent
#D41288
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #B997EE

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

Preview Lab → · Contrast checker → · Palette generator →

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