#B97BD2#B97BD2

#B97BD2 is a light, vivid purple. Relative luminance 0.291; OKLCH L 67.9% C 0.140 H 315.8°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#B97BD2
RGBrgb(185, 123, 210)
HSLhsl(283, 49%, 65%)
HSVhsv(283, 41%, 82%)
CMYKcmyk(11.9%, 41.4%, 0%, 17.6%)
CIE-LABlab(60.90, 39.19, -35.42)
CIE-LCHlch(60.90, 52.83, 317.89°)
OKLaboklab(67.88% 0.1004 -0.0978)
OKLCHoklch(67.88% 0.14 315.8)
XYZxyz(38.7216, 29.1343, 64.5440)
Luminance0.2913 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97BD2 #94D27B
analogous
#8D7BD2 #B97BD2 #D27BBF
triadic
#B97BD2 #D2B97B #7BD2B9
tetradic
#B97BD2 #D28D7B #94D27B #7BBFD2
square
#B97BD2 #D28D7B #94D27B #7BBFD2
split-complementary
#B97BD2 #BFD27B #7BD28D
monochromatic
#7F369D #A14DC2 #B97BD2 #D1A9E2 #E9D6F1

Accessibility & contrast

On white

3.08
#B97BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#B97BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B97BD2
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97BD2#FFFFFF#000000##000000
##B97BD21.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8FD5
Deuteranopia (green-blind)
#7C95CF
Tritanopia (blue-blind)
#B8879D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b97bd2;
/* rgb */ color: rgb(185, 123, 210);
/* oklch */ color: oklch(67.9% 0.140 315.8);
Tailwind
colors: {
  custom: {
    50: '#cfa2e0',
    500: '#b97bd2',
    950: '#000000',
  },
}
SCSS
$custom: #b97bd2;
$custom-light: #cfa2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b97bd2",
  "rgb": {
    "r": 185,
    "g": 123,
    "b": 210
  },
  "hsl": {
    "h": 282.759,
    "s": 49.153,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67884,
    "c": 0.14015,
    "h": 315.8
  },
  "luminance": 0.29133
}

Semantic roles & 50–950 ramp

primary
#B97BD2
secondary
#CEE3C6
accent
#BC2953
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #B97BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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