#B97DEE#B97DEE

#B97DEE is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.6% C 0.169 H 307.0°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#B97DEE
RGBrgb(185, 125, 238)
HSLhsl(272, 77%, 71%)
HSVhsv(272, 47%, 93%)
CMYKcmyk(22.3%, 47.5%, 0%, 6.7%)
CIE-LABlab(62.64, 44.20, -48.31)
CIE-LCHlch(62.64, 65.47, 312.46°)
OKLaboklab(69.61% 0.102 -0.1351)
OKLCHoklch(69.61% 0.169 307)
XYZxyz(42.7707, 31.1550, 84.6327)
Luminance0.3115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97DEE #B2EE7D
analogous
#807DEE #B97DEE #EE7DEB
triadic
#B97DEE #EEB97D #7DEEB9
tetradic
#B97DEE #EE807D #B2EE7D #7DEBEE
square
#B97DEE #EE807D #B2EE7D #7DEBEE
split-complementary
#B97DEE #EBEE7D #7DEE80
monochromatic
#7E1CD5 #9C47E7 #B97DEE #D6B3F5 #F0E4FB

Accessibility & contrast

On white

2.90
#B97DEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#B97DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97DEE
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97DEE#FFFFFF#000000##000000
##B97DEE1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F95F2
Deuteranopia (green-blind)
#6F98EB
Tritanopia (blue-blind)
#B190AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b97dee;
/* rgb */ color: rgb(185, 125, 238);
/* oklch */ color: oklch(69.6% 0.169 307.0);
Tailwind
colors: {
  custom: {
    50: '#d0a4f4',
    500: '#b97dee',
    950: '#000000',
  },
}
SCSS
$custom: #b97dee;
$custom-light: #d0a4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b97dee",
  "rgb": {
    "r": 185,
    "g": 125,
    "b": 238
  },
  "hsl": {
    "h": 271.858,
    "s": 76.871,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69612,
    "c": 0.16923,
    "h": 307
  },
  "luminance": 0.31155
}

Semantic roles & 50–950 ramp

primary
#B97DEE
secondary
#E2F2D5
accent
#D90C6C
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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