#B97DED#B97DED

#B97DED is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.6% C 0.168 H 307.3°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#B97DED
RGBrgb(185, 125, 237)
HSLhsl(272, 76%, 71%)
HSVhsv(272, 47%, 93%)
CMYKcmyk(21.9%, 47.3%, 0%, 7.1%)
CIE-LABlab(62.59, 43.97, -47.83)
CIE-LCHlch(62.59, 64.97, 312.59°)
OKLaboklab(69.56% 0.1018 -0.1337)
OKLCHoklch(69.56% 0.168 307.3)
XYZxyz(42.6242, 31.0964, 83.8611)
Luminance0.3110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97DED #B1ED7D
analogous
#817DED #B97DED #ED7DE9
triadic
#B97DED #EDB97D #7DEDB9
tetradic
#B97DED #ED817D #B1ED7D #7DE9ED
square
#B97DED #ED817D #B1ED7D #7DE9ED
split-complementary
#B97DED #E9ED7D #7DED81
monochromatic
#7E1DD2 #9C47E6 #B97DED #D6B3F4 #F1E4FB

Accessibility & contrast

On white

2.91
#B97DED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#B97DED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97DED
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97DED#FFFFFF#000000##000000
##B97DED1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6095F1
Deuteranopia (green-blind)
#7098EA
Tritanopia (blue-blind)
#B190AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b97ded;
/* rgb */ color: rgb(185, 125, 237);
/* oklch */ color: oklch(69.6% 0.168 307.3);
Tailwind
colors: {
  custom: {
    50: '#d0a4f3',
    500: '#b97ded',
    950: '#000000',
  },
}
SCSS
$custom: #b97ded;
$custom-light: #d0a4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b97ded",
  "rgb": {
    "r": 185,
    "g": 125,
    "b": 237
  },
  "hsl": {
    "h": 272.143,
    "s": 75.676,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69559,
    "c": 0.16806,
    "h": 307.3
  },
  "luminance": 0.31096
}

Semantic roles & 50–950 ramp

primary
#B97DED
secondary
#E2F2D4
accent
#D80E6C
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97DED

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

Preview Lab → · Contrast checker → · Palette generator →

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