#B97BFA#B97BFA

#B97BFA is a light, vivid violet. Relative luminance 0.314; OKLCH L 70.0% C 0.186 H 304.6°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#B97BFA
RGBrgb(185, 123, 250)
HSLhsl(269, 93%, 73%)
HSVhsv(269, 51%, 98%)
CMYKcmyk(26%, 50.8%, 0%, 2%)
CIE-LABlab(62.83, 48.01, -54.62)
CIE-LCHlch(62.83, 72.72, 311.31°)
OKLaboklab(69.95% 0.1058 -0.1535)
OKLCHoklch(69.95% 0.186 304.6)
XYZxyz(44.3421, 31.3825, 94.1454)
Luminance0.3138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97BFA #BCFA7B
analogous
#7B7CFA #B97BFA #F87BFA
triadic
#B97BFA #FAB97B #7BFAB9
tetradic
#B97BFA #FA7B7C #BCFA7B #7BFAF8
square
#B97BFA #FA7B7C #BCFA7B #7BFAF8
split-complementary
#B97BFA #FAF87B #7CFA7B
monochromatic
#7B09F1 #9A40F8 #B97BFA #D8B6FC #EFE2FE

Accessibility & contrast

On white

2.89
#B97BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#B97BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97BFA
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97BFA#FFFFFF#000000##000000
##B97BFA1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5396FE
Deuteranopia (green-blind)
#6598F7
Tritanopia (blue-blind)
#AE92AF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b97bfa;
/* rgb */ color: rgb(185, 123, 250);
/* oklch */ color: oklch(70.0% 0.186 304.6);
Tailwind
colors: {
  custom: {
    50: '#d1a3fc',
    500: '#b97bfa',
    950: '#000000',
  },
}
SCSS
$custom: #b97bfa;
$custom-light: #d1a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b97bfa",
  "rgb": {
    "r": 185,
    "g": 123,
    "b": 250
  },
  "hsl": {
    "h": 269.291,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69953,
    "c": 0.18641,
    "h": 304.6
  },
  "luminance": 0.31382
}

Semantic roles & 50–950 ramp

primary
#B97BFA
secondary
#E6F6D5
accent
#E60075
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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