#B97DCD#B97DCD

#B97DCD is a light, vivid purple. Relative luminance 0.294; OKLCH L 68.0% C 0.131 H 317.4°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#B97DCD
RGBrgb(185, 125, 205)
HSLhsl(285, 44%, 65%)
HSVhsv(285, 39%, 80%)
CMYKcmyk(9.8%, 39%, 0%, 19.6%)
CIE-LABlab(61.12, 37.07, -32.26)
CIE-LCHlch(61.12, 49.14, 318.97°)
OKLaboklab(67.98% 0.0964 -0.0887)
OKLCHoklch(67.98% 0.131 317.4)
XYZxyz(38.3591, 29.3903, 61.3980)
Luminance0.2939 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97DCD #91CD7D
analogous
#917DCD #B97DCD #CD7DB9
triadic
#B97DCD #CDB97D #7DCDB9
tetradic
#B97DCD #CD917D #91CD7D #7DB9CD
square
#B97DCD #CD917D #91CD7D #7DB9CD
split-complementary
#B97DCD #B9CD7D #7DCD91
monochromatic
#7F3A96 #A151BC #B97DCD #D1A9DE #E9D5EF

Accessibility & contrast

On white

3.05
#B97DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#B97DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B97DCD
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97DCD#FFFFFF#000000##000000
##B97DCD1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7190D0
Deuteranopia (green-blind)
#8095CB
Tritanopia (blue-blind)
#B9879B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b97dcd;
/* rgb */ color: rgb(185, 125, 205);
/* oklch */ color: oklch(68.0% 0.131 317.4);
Tailwind
colors: {
  custom: {
    50: '#cfa4dc',
    500: '#b97dcd',
    950: '#000000',
  },
}
SCSS
$custom: #b97dcd;
$custom-light: #cfa4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b97dcd",
  "rgb": {
    "r": 185,
    "g": 125,
    "b": 205
  },
  "hsl": {
    "h": 285,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67982,
    "c": 0.13106,
    "h": 317.4
  },
  "luminance": 0.29389
}

Semantic roles & 50–950 ramp

primary
#B97DCD
secondary
#CCE1C5
accent
#B82E50
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #B97DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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