#B997EB#B997EB

#B997EB is a light, vivid violet. Relative luminance 0.384; OKLCH L 73.9% C 0.123 H 302.1°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#B997EB
RGBrgb(185, 151, 235)
HSLhsl(264, 68%, 76%)
HSVhsv(264, 36%, 92%)
CMYKcmyk(21.3%, 35.7%, 0%, 7.8%)
CIE-LABlab(68.35, 29.18, -37.69)
CIE-LCHlch(68.35, 47.67, 307.75°)
OKLaboklab(73.87% 0.0655 -0.1045)
OKLCHoklch(73.87% 0.123 302.1)
XYZxyz(46.0664, 38.4456, 83.5750)
Luminance0.3845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B997EB #C9EB97
analogous
#979FEB #B997EB #E397EB
triadic
#B997EB #EBB997 #97EBB9
tetradic
#B997EB #EB979F #C9EB97 #97EBE3
square
#B997EB #EB979F #C9EB97 #97EBE3
split-complementary
#B997EB #EBE397 #9FEB97
monochromatic
#7430D7 #9664E1 #B997EB #DCCAF5 #EEE5FA

Accessibility & contrast

On white

2.42
#B997EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#B997EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B997EB
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B997EB#FFFFFF#000000##000000
##B997EB1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A6EE
Deuteranopia (green-blind)
#8AA6E9
Tritanopia (blue-blind)
#B0A4B6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b997eb;
/* rgb */ color: rgb(185, 151, 235);
/* oklch */ color: oklch(73.9% 0.123 302.1);
Tailwind
colors: {
  custom: {
    50: '#cfb6f1',
    500: '#b997eb',
    950: '#000000',
  },
}
SCSS
$custom: #b997eb;
$custom-light: #cfb6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b997eb",
  "rgb": {
    "r": 185,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 264.286,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.73869,
    "c": 0.1233,
    "h": 302.1
  },
  "luminance": 0.38446
}

Semantic roles & 50–950 ramp

primary
#B997EB
secondary
#E8F2D9
accent
#D01684
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #B997EB

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

Preview Lab → · Contrast checker → · Palette generator →

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