#B97DEF#B97DEF

#B97DEF is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.7% C 0.170 H 306.8°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#B97DEF
RGBrgb(185, 125, 239)
HSLhsl(272, 78%, 71%)
HSVhsv(272, 48%, 94%)
CMYKcmyk(22.6%, 47.7%, 0%, 6.3%)
CIE-LABlab(62.69, 44.42, -48.78)
CIE-LCHlch(62.69, 65.98, 312.32°)
OKLaboklab(69.66% 0.1021 -0.1364)
OKLCHoklch(69.66% 0.17 306.8)
XYZxyz(42.9180, 31.2139, 85.4085)
Luminance0.3121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97DEF #B3EF7D
analogous
#807DEF #B97DEF #EF7DEC
triadic
#B97DEF #EFB97D #7DEFB9
tetradic
#B97DEF #EF807D #B3EF7D #7DECEF
square
#B97DEF #EF807D #B3EF7D #7DECEF
split-complementary
#B97DEF #ECEF7D #7DEF80
monochromatic
#7E1AD7 #9C47E8 #B97DEF #D6B3F6 #F0E4FC

Accessibility & contrast

On white

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

On black

7.24
#B97DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97DEF
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97DEF#FFFFFF#000000##000000
##B97DEF1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E95F3
Deuteranopia (green-blind)
#6F98EC
Tritanopia (blue-blind)
#B190AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b97def;
/* rgb */ color: rgb(185, 125, 239);
/* oklch */ color: oklch(69.7% 0.170 306.8);
Tailwind
colors: {
  custom: {
    50: '#d0a4f5',
    500: '#b97def',
    950: '#000000',
  },
}
SCSS
$custom: #b97def;
$custom-light: #d0a4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b97def",
  "rgb": {
    "r": 185,
    "g": 125,
    "b": 239
  },
  "hsl": {
    "h": 271.579,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69665,
    "c": 0.17041,
    "h": 306.8
  },
  "luminance": 0.31214
}

Semantic roles & 50–950 ramp

primary
#B97DEF
secondary
#E3F3D5
accent
#DA0B6D
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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