#B97FEE#B97FEE

#B97FEE is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.9% C 0.166 H 306.7°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#B97FEE
RGBrgb(185, 127, 238)
HSLhsl(271, 77%, 72%)
HSVhsv(271, 47%, 93%)
CMYKcmyk(22.3%, 46.6%, 0%, 6.7%)
CIE-LABlab(63.07, 43.11, -47.63)
CIE-LCHlch(63.07, 64.24, 312.15°)
OKLaboklab(69.93% 0.0993 -0.1331)
OKLCHoklch(69.93% 0.166 306.7)
XYZxyz(43.0265, 31.6665, 84.7179)
Luminance0.3167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97FEE #B4EE7F
analogous
#827FEE #B97FEE #EE7FEC
triadic
#B97FEE #EEB97F #7FEEB9
tetradic
#B97FEE #EE827F #B4EE7F #7FECEE
square
#B97FEE #EE827F #B4EE7F #7FECEE
split-complementary
#B97FEE #ECEE7F #7FEE82
monochromatic
#7D1CD6 #9B49E7 #B97FEE #D7B5F5 #F0E4FB

Accessibility & contrast

On white

2.86
#B97FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#B97FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97FEE
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97FEE#FFFFFF#000000##000000
##B97FEE1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F2
Deuteranopia (green-blind)
#7199EB
Tritanopia (blue-blind)
#B192AB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b97fee;
/* rgb */ color: rgb(185, 127, 238);
/* oklch */ color: oklch(69.9% 0.166 306.7);
Tailwind
colors: {
  custom: {
    50: '#d0a5f4',
    500: '#b97fee',
    950: '#000000',
  },
}
SCSS
$custom: #b97fee;
$custom-light: #d0a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b97fee",
  "rgb": {
    "r": 185,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 271.351,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69931,
    "c": 0.16604,
    "h": 306.7
  },
  "luminance": 0.31666
}

Semantic roles & 50–950 ramp

primary
#B97FEE
secondary
#E4F3D6
accent
#D90D6E
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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