#B97DFC#B97DFC

#B97DFC is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.4% C 0.186 H 303.8°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#B97DFC
RGBrgb(185, 125, 252)
HSLhsl(268, 95%, 74%)
HSVhsv(268, 50%, 99%)
CMYKcmyk(26.6%, 50.4%, 0%, 1.2%)
CIE-LABlab(63.35, 47.40, -54.89)
CIE-LCHlch(63.35, 72.53, 310.81°)
OKLaboklab(70.37% 0.1034 -0.1543)
OKLCHoklch(70.37% 0.186 303.8)
XYZxyz(44.9080, 32.0099, 95.8893)
Luminance0.3201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97DFC #C0FC7D
analogous
#7D81FC #B97DFC #F87DFC
triadic
#B97DFC #FCB97D #7DFCB9
tetradic
#B97DFC #FC7D81 #C0FC7D #7DFCF8
square
#B97DFC #FC7D81 #C0FC7D #7DFCF8
split-complementary
#B97DFC #FCF87D #81FC7D
monochromatic
#7906F9 #9941FB #B97DFC #D9B9FD #EFE1FE

Accessibility & contrast

On white

2.84
#B97DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#B97DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97DFC
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97DFC#FFFFFF#000000##000000
##B97DFC1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5598FF
Deuteranopia (green-blind)
#6699F9
Tritanopia (blue-blind)
#AD94B1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b97dfc;
/* rgb */ color: rgb(185, 125, 252);
/* oklch */ color: oklch(70.4% 0.186 303.8);
Tailwind
colors: {
  custom: {
    50: '#d1a4fe',
    500: '#b97dfc',
    950: '#000000',
  },
}
SCSS
$custom: #b97dfc;
$custom-light: #d1a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b97dfc",
  "rgb": {
    "r": 185,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 268.346,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70374,
    "c": 0.18571,
    "h": 303.8
  },
  "luminance": 0.3201
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B97DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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