#B97FF7#B97FF7

#B97FF7 is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.4% C 0.177 H 304.6°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#B97FF7
RGBrgb(185, 127, 247)
HSLhsl(269, 88%, 73%)
HSVhsv(269, 49%, 97%)
CMYKcmyk(25.1%, 48.6%, 0%, 3.1%)
CIE-LABlab(63.51, 45.17, -51.88)
CIE-LCHlch(63.51, 68.79, 311.04°)
OKLaboklab(70.41% 0.1003 -0.1455)
OKLCHoklch(70.41% 0.177 304.6)
XYZxyz(44.3819, 32.2086, 91.8564)
Luminance0.3221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97FF7 #BDF77F
analogous
#7F81F7 #B97FF7 #F57FF7
triadic
#B97FF7 #F7B97F #7FF7B9
tetradic
#B97FF7 #F77F81 #BDF77F #7FF7F5
square
#B97FF7 #F77F81 #BDF77F #7FF7F5
split-complementary
#B97FF7 #F7F57F #81F77F
monochromatic
#7A0FED #9945F3 #B97FF7 #D8B9FB #EFE2FD

Accessibility & contrast

On white

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

On black

7.44
#B97FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97FF7
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97FF7#FFFFFF#000000##000000
##B97FF71.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C98FB
Deuteranopia (green-blind)
#6C9AF4
Tritanopia (blue-blind)
#AF94B0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b97ff7;
/* rgb */ color: rgb(185, 127, 247);
/* oklch */ color: oklch(70.4% 0.177 304.6);
Tailwind
colors: {
  custom: {
    50: '#d1a5fa',
    500: '#b97ff7',
    950: '#000000',
  },
}
SCSS
$custom: #b97ff7;
$custom-light: #d1a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b97ff7",
  "rgb": {
    "r": 185,
    "g": 127,
    "b": 247
  },
  "hsl": {
    "h": 269,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70412,
    "c": 0.17673,
    "h": 304.6
  },
  "luminance": 0.32208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B97FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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