#B797BC#B797BC

#B797BC is a light, moderate purple. Relative luminance 0.358; OKLCH L 71.7% C 0.064 H 321.8°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#B797BC
RGBrgb(183, 151, 188)
HSLhsl(292, 22%, 66%)
HSVhsv(292, 20%, 74%)
CMYKcmyk(2.7%, 19.7%, 0%, 26.3%)
CIE-LABlab(66.39, 18.53, -14.67)
CIE-LCHlch(66.39, 23.63, 321.63°)
OKLaboklab(71.74% 0.0501 -0.0395)
OKLCHoklch(71.74% 0.064 321.8)
XYZxyz(39.6709, 35.8321, 52.3936)
Luminance0.3583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B797BC #9CBC97
analogous
#A597BC #B797BC #BC97AF
triadic
#B797BC #BCB797 #97BCB7
tetradic
#B797BC #BCA597 #9CBC97 #97AFBC
square
#B797BC #BCA597 #9CBC97 #97AFBC
split-complementary
#B797BC #AFBC97 #97BCA5
monochromatic
#7D5584 #9D72A4 #B797BC #D1BCD4 #EBE1EC

Accessibility & contrast

On white

2.57
#B797BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#B797BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B797BC
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B797BC#FFFFFF#000000##000000
##B797BC1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#949FBE
Deuteranopia (green-blind)
#9BA3BB
Tritanopia (blue-blind)
#B89AA4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b797bc;
/* rgb */ color: rgb(183, 151, 188);
/* oklch */ color: oklch(71.7% 0.064 321.8);
Tailwind
colors: {
  custom: {
    50: '#cdb5d0',
    500: '#b797bc',
    950: '#000000',
  },
}
SCSS
$custom: #b797bc;
$custom-light: #cdb5d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b797bc",
  "rgb": {
    "r": 183,
    "g": 151,
    "b": 188
  },
  "hsl": {
    "h": 291.892,
    "s": 21.637,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71743,
    "c": 0.06378,
    "h": 321.8
  },
  "luminance": 0.35831
}

Semantic roles & 50–950 ramp

primary
#B797BC
secondary
#D3DDD1
accent
#A04552
background
#FCFBFC
surface
#F9F6F9
border
#D2D0D2
text
#131114
muted
#828082

Preview Lab

Preview with #B797BC

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

Preview Lab → · Contrast checker → · Palette generator →

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