#B997CE#B997CE

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

Color values

HEX#B997CE
RGBrgb(185, 151, 206)
HSLhsl(277, 36%, 70%)
HSVhsv(277, 27%, 81%)
CMYKcmyk(10.2%, 26.7%, 0%, 19.2%)
CIE-LABlab(67.21, 22.84, -23.45)
CIE-LCHlch(67.21, 32.73, 314.25°)
OKLaboklab(72.62% 0.058 -0.0639)
OKLCHoklch(72.62% 0.086 312.2)
XYZxyz(42.2129, 36.9043, 63.2800)
Luminance0.3690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B997CE #ACCE97
analogous
#9D97CE #B997CE #CE97C8
triadic
#B997CE #CEB997 #97CEB9
tetradic
#B997CE #CE9D97 #ACCE97 #97C8CE
square
#B997CE #CE9D97 #ACCE97 #97C8CE
split-complementary
#B997CE #C8CE97 #97CE9D
monochromatic
#7F4B9F #9D6DBA #B997CE #D5C1E2 #F1EAF5

Accessibility & contrast

On white

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

On black

8.38
#B997CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B997CE
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B997CE#FFFFFF#000000##000000
##B997CE1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA2D0
Deuteranopia (green-blind)
#96A4CC
Tritanopia (blue-blind)
#B79EAA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b997ce;
/* rgb */ color: rgb(185, 151, 206);
/* oklch */ color: oklch(72.6% 0.086 312.2);
Tailwind
colors: {
  custom: {
    50: '#ceb5dd',
    500: '#b997ce',
    950: '#000000',
  },
}
SCSS
$custom: #b997ce;
$custom-light: #ceb5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b997ce",
  "rgb": {
    "r": 185,
    "g": 151,
    "b": 206
  },
  "hsl": {
    "h": 277.091,
    "s": 35.948,
    "l": 70
  },
  "oklch": {
    "l": 0.7262,
    "c": 0.08633,
    "h": 312.2
  },
  "luminance": 0.36904
}

Semantic roles & 50–950 ramp

primary
#B997CE
secondary
#DFE8D9
accent
#AF3765
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #B997CE

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

Preview Lab → · Contrast checker → · Palette generator →

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