#B97BFE#B97BFE

#B97BFE is a light, vivid violet. Relative luminance 0.316; OKLCH L 70.2% C 0.191 H 303.7°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#B97BFE
RGBrgb(185, 123, 254)
HSLhsl(268, 98%, 74%)
HSVhsv(268, 52%, 100%)
CMYKcmyk(27.2%, 51.6%, 0%, 0.4%)
CIE-LABlab(63.04, 48.93, -56.48)
CIE-LCHlch(63.04, 74.73, 310.90°)
OKLaboklab(70.18% 0.1061 -0.1589)
OKLCHoklch(70.18% 0.191 303.7)
XYZxyz(44.9760, 31.6361, 97.4837)
Luminance0.3164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97BFE #C0FE7B
analogous
#7B7FFE #B97BFE #FB7BFE
triadic
#B97BFE #FEB97B #7BFEB9
tetradic
#B97BFE #FE7B7F #C0FE7B #7BFEFB
square
#B97BFE #FE7B7F #C0FE7B #7BFEFB
split-complementary
#B97BFE #FEFB7B #7FFE7B
monochromatic
#7902FD #993EFE #B97BFE #D9B8FE #EFE1FF

Accessibility & contrast

On white

2.87
#B97BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B97BFE#FFFFFF#000000##000000
##B97BFE1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5097FF
Deuteranopia (green-blind)
#6298FB
Tritanopia (blue-blind)
#AD93B1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b97bfe;
/* rgb */ color: rgb(185, 123, 254);
/* oklch */ color: oklch(70.2% 0.191 303.7);
Tailwind
colors: {
  custom: {
    50: '#d1a3ff',
    500: '#b97bfe',
    950: '#000000',
  },
}
SCSS
$custom: #b97bfe;
$custom-light: #d1a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b97bfe",
  "rgb": {
    "r": 185,
    "g": 123,
    "b": 254
  },
  "hsl": {
    "h": 268.397,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70178,
    "c": 0.19108,
    "h": 303.7
  },
  "luminance": 0.31636
}

Semantic roles & 50–950 ramp

primary
#B97BFE
secondary
#E6F7D4
accent
#E60079
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B97BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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