#B97DD5#B97DD5

#B97DD5 is a light, vivid purple. Relative luminance 0.298; OKLCH L 68.4% C 0.140 H 314.4°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#B97DD5
RGBrgb(185, 125, 213)
HSLhsl(281, 51%, 66%)
HSVhsv(281, 41%, 84%)
CMYKcmyk(13.1%, 41.3%, 0%, 16.5%)
CIE-LABlab(61.47, 38.73, -36.22)
CIE-LCHlch(61.47, 53.03, 316.92°)
OKLaboklab(68.36% 0.0981 -0.1001)
OKLCHoklch(68.36% 0.14 314.4)
XYZxyz(39.3495, 29.7865, 66.6144)
Luminance0.2979 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97DD5 #99D57D
analogous
#8D7DD5 #B97DD5 #D57DC5
triadic
#B97DD5 #D5B97D #7DD5B9
tetradic
#B97DD5 #D58D7D #99D57D #7DC5D5
square
#B97DD5 #D58D7D #99D57D #7DC5D5
split-complementary
#B97DD5 #C5D57D #7DD58D
monochromatic
#8035A3 #A04FC6 #B97DD5 #D2ABE4 #EBDAF3

Accessibility & contrast

On white

3.02
#B97DD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#B97DD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B97DD5
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97DD5#FFFFFF#000000##000000
##B97DD51.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D91D8
Deuteranopia (green-blind)
#7C96D2
Tritanopia (blue-blind)
#B7899F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b97dd5;
/* rgb */ color: rgb(185, 125, 213);
/* oklch */ color: oklch(68.4% 0.140 314.4);
Tailwind
colors: {
  custom: {
    50: '#cfa4e2',
    500: '#b97dd5',
    950: '#000000',
  },
}
SCSS
$custom: #b97dd5;
$custom-light: #cfa4e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b97dd5",
  "rgb": {
    "r": 185,
    "g": 125,
    "b": 213
  },
  "hsl": {
    "h": 280.909,
    "s": 51.163,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68355,
    "c": 0.14013,
    "h": 314.4
  },
  "luminance": 0.29786
}

Semantic roles & 50–950 ramp

primary
#B97DD5
secondary
#D2E5C9
accent
#BF2757
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #B97DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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