#B997CB#B997CB

#B997CB is a light, moderate violet. Relative luminance 0.368; OKLCH L 72.5% C 0.083 H 313.7°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#B997CB
RGBrgb(185, 151, 203)
HSLhsl(279, 33%, 69%)
HSVhsv(279, 26%, 80%)
CMYKcmyk(8.9%, 25.6%, 0%, 20.4%)
CIE-LABlab(67.10, 22.22, -21.95)
CIE-LCHlch(67.10, 31.23, 315.35°)
OKLaboklab(72.5% 0.0571 -0.0597)
OKLCHoklch(72.5% 0.083 313.7)
XYZxyz(41.8519, 36.7599, 61.3789)
Luminance0.3676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B997CB #A9CB97
analogous
#9F97CB #B997CB #CB97C3
triadic
#B997CB #CBB997 #97CBB9
tetradic
#B997CB #CB9F97 #A9CB97 #97C3CB
square
#B997CB #CB9F97 #A9CB97 #97C3CB
split-complementary
#B997CB #C3CB97 #97CB9F
monochromatic
#804D9A #9E6EB7 #B997CB #D4C0DF #F0E9F4

Accessibility & contrast

On white

2.51
#B997CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#B997CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B997CB
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B997CB#FFFFFF#000000##000000
##B997CB1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A1CD
Deuteranopia (green-blind)
#97A4C9
Tritanopia (blue-blind)
#B89DA9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b997cb;
/* rgb */ color: rgb(185, 151, 203);
/* oklch */ color: oklch(72.5% 0.083 313.7);
Tailwind
colors: {
  custom: {
    50: '#ceb5db',
    500: '#b997cb',
    950: '#000000',
  },
}
SCSS
$custom: #b997cb;
$custom-light: #ceb5db;
$custom-dark: #000000;
JSON
{
  "hex": "#b997cb",
  "rgb": {
    "r": 185,
    "g": 151,
    "b": 203
  },
  "hsl": {
    "h": 279.231,
    "s": 33.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72501,
    "c": 0.08264,
    "h": 313.7
  },
  "luminance": 0.36759
}

Semantic roles & 50–950 ramp

primary
#B997CB
secondary
#DDE6D7
accent
#AC3961
background
#FCFBFD
surface
#F9F6FA
border
#D2D0D3
text
#131115
muted
#828083

Preview Lab

Preview with #B997CB

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

Preview Lab → · Contrast checker → · Palette generator →

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