#B97DDE#B97DDE

#B97DDE is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.8% C 0.151 H 311.5°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#B97DDE
RGBrgb(185, 125, 222)
HSLhsl(277, 60%, 68%)
HSVhsv(277, 44%, 87%)
CMYKcmyk(16.7%, 43.7%, 0%, 12.9%)
CIE-LABlab(61.87, 40.66, -40.62)
CIE-LCHlch(61.87, 57.47, 315.03°)
OKLaboklab(68.79% 0.0997 -0.1128)
OKLCHoklch(68.79% 0.151 311.5)
XYZxyz(40.5237, 30.2562, 72.7983)
Luminance0.3025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97DDE #A2DE7D
analogous
#887DDE #B97DDE #DE7DD3
triadic
#B97DDE #DEB97D #7DDEB9
tetradic
#B97DDE #DE887D #A2DE7D #7DD3DE
square
#B97DDE #DE887D #A2DE7D #7DD3DE
split-complementary
#B97DDE #D3DE7D #7DDE88
monochromatic
#802DB3 #9F4CD2 #B97DDE #D3AEEA #EEDFF7

Accessibility & contrast

On white

2.98
#B97DDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#B97DDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97DDE
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97DDE#FFFFFF#000000##000000
##B97DDE1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6992E1
Deuteranopia (green-blind)
#7897DB
Tritanopia (blue-blind)
#B58CA3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b97dde;
/* rgb */ color: rgb(185, 125, 222);
/* oklch */ color: oklch(68.8% 0.151 311.5);
Tailwind
colors: {
  custom: {
    50: '#d0a4e8',
    500: '#b97dde',
    950: '#000000',
  },
}
SCSS
$custom: #b97dde;
$custom-light: #d0a4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b97dde",
  "rgb": {
    "r": 185,
    "g": 125,
    "b": 222
  },
  "hsl": {
    "h": 277.113,
    "s": 59.509,
    "l": 68.039
  },
  "oklch": {
    "l": 0.68792,
    "c": 0.15051,
    "h": 311.5
  },
  "luminance": 0.30255
}

Semantic roles & 50–950 ramp

primary
#B97DDE
secondary
#D8EACD
accent
#C71E5F
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B97DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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