#B97EFD#B97EFD

#B97EFD is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.6% C 0.185 H 303.4°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#B97EFD
RGBrgb(185, 126, 253)
HSLhsl(268, 97%, 74%)
HSVhsv(268, 50%, 99%)
CMYKcmyk(26.9%, 50.2%, 0%, 0.8%)
CIE-LABlab(63.61, 47.10, -55.03)
CIE-LCHlch(63.61, 72.43, 310.56°)
OKLaboklab(70.58% 0.1022 -0.1547)
OKLCHoklch(70.58% 0.185 303.4)
XYZxyz(45.1942, 32.3279, 96.7684)
Luminance0.3233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97EFD #C2FD7E
analogous
#7E83FD #B97EFD #F97EFD
triadic
#B97EFD #FDB97E #7EFDB9
tetradic
#B97EFD #FD7E83 #C2FD7E #7EFDF9
square
#B97EFD #FD7E83 #C2FD7E #7EFDF9
split-complementary
#B97EFD #FDF97E #83FD7E
monochromatic
#7805FB #9842FC #B97EFD #DABAFE #EFE1FF

Accessibility & contrast

On white

2.81
#B97EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#B97EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97EFD
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97EFD#FFFFFF#000000##000000
##B97EFD1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5699FF
Deuteranopia (green-blind)
#669AFA
Tritanopia (blue-blind)
#AD95B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b97efd;
/* rgb */ color: rgb(185, 126, 253);
/* oklch */ color: oklch(70.6% 0.185 303.4);
Tailwind
colors: {
  custom: {
    50: '#d1a5fe',
    500: '#b97efd',
    950: '#000000',
  },
}
SCSS
$custom: #b97efd;
$custom-light: #d1a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b97efd",
  "rgb": {
    "r": 185,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 267.874,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70585,
    "c": 0.18536,
    "h": 303.4
  },
  "luminance": 0.32328
}

Semantic roles & 50–950 ramp

primary
#B97EFD
secondary
#E7F7D4
accent
#E6007B
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B97EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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