#B997EA#B997EA

#B997EA is a light, vivid violet. Relative luminance 0.384; OKLCH L 73.8% C 0.122 H 302.3°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#B997EA
RGBrgb(185, 151, 234)
HSLhsl(265, 66%, 75%)
HSVhsv(265, 35%, 92%)
CMYKcmyk(20.9%, 35.5%, 0%, 8.2%)
CIE-LABlab(68.31, 28.96, -37.21)
CIE-LCHlch(68.31, 47.15, 307.89°)
OKLaboklab(73.82% 0.0653 -0.1031)
OKLCHoklch(73.82% 0.122 302.3)
XYZxyz(45.9223, 38.3880, 82.8163)
Luminance0.3839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B997EA #C8EA97
analogous
#979EEA #B997EA #E297EA
triadic
#B997EA #EAB997 #97EAB9
tetradic
#B997EA #EA979E #C8EA97 #97EAE2
square
#B997EA #EA979E #C8EA97 #97EAE2
split-complementary
#B997EA #EAE297 #9EEA97
monochromatic
#7431D5 #9764E0 #B997EA #DBCAF4 #EEE6FA

Accessibility & contrast

On white

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

On black

8.68
#B997EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B997EA
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B997EA#FFFFFF#000000##000000
##B997EA1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A6ED
Deuteranopia (green-blind)
#8BA6E8
Tritanopia (blue-blind)
#B1A4B6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b997ea;
/* rgb */ color: rgb(185, 151, 234);
/* oklch */ color: oklch(73.8% 0.122 302.3);
Tailwind
colors: {
  custom: {
    50: '#cfb6f1',
    500: '#b997ea',
    950: '#000000',
  },
}
SCSS
$custom: #b997ea;
$custom-light: #cfb6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b997ea",
  "rgb": {
    "r": 185,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 264.578,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73823,
    "c": 0.122,
    "h": 302.3
  },
  "luminance": 0.38388
}

Semantic roles & 50–950 ramp

primary
#B997EA
secondary
#E8F1DA
accent
#CE1783
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #B997EA

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

Preview Lab → · Contrast checker → · Palette generator →

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