#B997CD#B997CD

#B997CD is a light, moderate violet. Relative luminance 0.369; OKLCH L 72.6% C 0.085 H 312.7°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#B997CD
RGBrgb(185, 151, 205)
HSLhsl(278, 35%, 70%)
HSVhsv(278, 26%, 80%)
CMYKcmyk(9.8%, 26.3%, 0%, 19.6%)
CIE-LABlab(67.17, 22.63, -22.95)
CIE-LCHlch(67.17, 32.23, 314.60°)
OKLaboklab(72.58% 0.0577 -0.0625)
OKLCHoklch(72.58% 0.085 312.7)
XYZxyz(42.0918, 36.8558, 62.6423)
Luminance0.3685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B997CD #ABCD97
analogous
#9E97CD #B997CD #CD97C6
triadic
#B997CD #CDB997 #97CDB9
tetradic
#B997CD #CD9E97 #ABCD97 #97C6CD
square
#B997CD #CD9E97 #ABCD97 #97C6CD
split-complementary
#B997CD #C6CD97 #97CD9E
monochromatic
#7F4C9E #9D6EB9 #B997CD #D5C0E1 #F1EAF5

Accessibility & contrast

On white

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

On black

8.37
#B997CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B997CD
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B997CD#FFFFFF#000000##000000
##B997CD1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA2CF
Deuteranopia (green-blind)
#96A4CB
Tritanopia (blue-blind)
#B79EAA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b997cd;
/* rgb */ color: rgb(185, 151, 205);
/* oklch */ color: oklch(72.6% 0.085 312.7);
Tailwind
colors: {
  custom: {
    50: '#ceb5dc',
    500: '#b997cd',
    950: '#000000',
  },
}
SCSS
$custom: #b997cd;
$custom-light: #ceb5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b997cd",
  "rgb": {
    "r": 185,
    "g": 151,
    "b": 205
  },
  "hsl": {
    "h": 277.778,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.7258,
    "c": 0.08509,
    "h": 312.7
  },
  "luminance": 0.36855
}

Semantic roles & 50–950 ramp

primary
#B997CD
secondary
#DEE8D8
accent
#AE3863
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #B997CD

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

Preview Lab → · Contrast checker → · Palette generator →

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