#B97BFC#B97BFC

#B97BFC is a light, vivid violet. Relative luminance 0.315; OKLCH L 70.1% C 0.189 H 304.1°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#B97BFC
RGBrgb(185, 123, 252)
HSLhsl(269, 96%, 74%)
HSVhsv(269, 51%, 99%)
CMYKcmyk(26.6%, 51.2%, 0%, 1.2%)
CIE-LABlab(62.93, 48.47, -55.55)
CIE-LCHlch(62.93, 73.73, 311.10°)
OKLaboklab(70.07% 0.106 -0.1562)
OKLCHoklch(70.07% 0.189 304.1)
XYZxyz(44.6574, 31.5086, 95.8057)
Luminance0.3151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97BFC #BEFC7B
analogous
#7B7DFC #B97BFC #F97BFC
triadic
#B97BFC #FCB97B #7BFCB9
tetradic
#B97BFC #FC7B7D #BEFC7B #7BFCF9
square
#B97BFC #FC7B7D #BEFC7B #7BFCF9
split-complementary
#B97BFC #FCF97B #7DFC7B
monochromatic
#7A06F7 #993FFB #B97BFC #D9B7FD #EFE1FE

Accessibility & contrast

On white

2.88
#B97BFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#B97BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97BFC
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97BFC#FFFFFF#000000##000000
##B97BFC1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5197FF
Deuteranopia (green-blind)
#6498F9
Tritanopia (blue-blind)
#AD93B0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b97bfc;
/* rgb */ color: rgb(185, 123, 252);
/* oklch */ color: oklch(70.1% 0.189 304.1);
Tailwind
colors: {
  custom: {
    50: '#d1a3fe',
    500: '#b97bfc',
    950: '#000000',
  },
}
SCSS
$custom: #b97bfc;
$custom-light: #d1a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b97bfc",
  "rgb": {
    "r": 185,
    "g": 123,
    "b": 252
  },
  "hsl": {
    "h": 268.837,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70065,
    "c": 0.18874,
    "h": 304.1
  },
  "luminance": 0.31508
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B97BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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