#B997D2#B997D2

#B997D2 is a light, moderate violet. Relative luminance 0.371; OKLCH L 72.8% C 0.091 H 310.4°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#B997D2
RGBrgb(185, 151, 210)
HSLhsl(275, 40%, 71%)
HSVhsv(275, 28%, 82%)
CMYKcmyk(11.9%, 28.1%, 0%, 17.6%)
CIE-LABlab(67.35, 23.68, -25.44)
CIE-LCHlch(67.35, 34.75, 312.95°)
OKLaboklab(72.78% 0.0592 -0.0695)
OKLCHoklch(72.78% 0.091 310.4)
XYZxyz(42.7050, 37.1011, 65.8718)
Luminance0.3710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B997D2 #B0D297
analogous
#9B97D2 #B997D2 #D297CD
triadic
#B997D2 #D2B997 #97D2B9
tetradic
#B997D2 #D29B97 #B0D297 #97CDD2
square
#B997D2 #D29B97 #B0D297 #97CDD2
split-complementary
#B997D2 #CDD297 #97D29B
monochromatic
#7F48A7 #9C6CC0 #B997D2 #D6C2E4 #F1EAF6

Accessibility & contrast

On white

2.49
#B997D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#B997D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B997D2
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B997D2#FFFFFF#000000##000000
##B997D21.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA2D4
Deuteranopia (green-blind)
#94A5D0
Tritanopia (blue-blind)
#B69FAC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b997d2;
/* rgb */ color: rgb(185, 151, 210);
/* oklch */ color: oklch(72.8% 0.091 310.4);
Tailwind
colors: {
  custom: {
    50: '#ceb5e0',
    500: '#b997d2',
    950: '#000000',
  },
}
SCSS
$custom: #b997d2;
$custom-light: #ceb5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b997d2",
  "rgb": {
    "r": 185,
    "g": 151,
    "b": 210
  },
  "hsl": {
    "h": 274.576,
    "s": 39.597,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72782,
    "c": 0.09131,
    "h": 310.4
  },
  "luminance": 0.37101
}

Semantic roles & 50–950 ramp

primary
#B997D2
secondary
#E1EADA
accent
#B33369
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #B997D2

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

Preview Lab → · Contrast checker → · Palette generator →

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