#B97FF8#B97FF8

#B97FF8 is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.5% C 0.178 H 304.4°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#B97FF8
RGBrgb(185, 127, 248)
HSLhsl(269, 90%, 74%)
HSVhsv(269, 49%, 97%)
CMYKcmyk(25.4%, 48.8%, 0%, 2.7%)
CIE-LABlab(63.57, 45.40, -52.35)
CIE-LCHlch(63.57, 69.30, 310.93°)
OKLaboklab(70.47% 0.1004 -0.1469)
OKLCHoklch(70.47% 0.178 304.4)
XYZxyz(44.5366, 32.2705, 92.6713)
Luminance0.3227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97FF8 #BEF87F
analogous
#7F81F8 #B97FF8 #F57FF8
triadic
#B97FF8 #F8B97F #7FF8B9
tetradic
#B97FF8 #F87F81 #BEF87F #7FF8F5
square
#B97FF8 #F87F81 #BEF87F #7FF8F5
split-complementary
#B97FF8 #F8F57F #81F87F
monochromatic
#7A0DF0 #9945F5 #B97FF8 #D9B9FB #EFE2FD

Accessibility & contrast

On white

2.82
#B97FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#B97FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97FF8
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97FF8#FFFFFF#000000##000000
##B97FF81.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B98FC
Deuteranopia (green-blind)
#6B9AF5
Tritanopia (blue-blind)
#AE94B0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b97ff8;
/* rgb */ color: rgb(185, 127, 248);
/* oklch */ color: oklch(70.5% 0.178 304.4);
Tailwind
colors: {
  custom: {
    50: '#d1a5fb',
    500: '#b97ff8',
    950: '#000000',
  },
}
SCSS
$custom: #b97ff8;
$custom-light: #d1a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b97ff8",
  "rgb": {
    "r": 185,
    "g": 127,
    "b": 248
  },
  "hsl": {
    "h": 268.76,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70466,
    "c": 0.17791,
    "h": 304.4
  },
  "luminance": 0.3227
}

Semantic roles & 50–950 ramp

primary
#B97FF8
secondary
#E6F5D6
accent
#E60077
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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