#B97FF6#B97FF6

#B97FF6 is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.4% C 0.176 H 304.8°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#B97FF6
RGBrgb(185, 127, 246)
HSLhsl(269, 87%, 73%)
HSVhsv(269, 48%, 96%)
CMYKcmyk(24.8%, 48.4%, 0%, 3.5%)
CIE-LABlab(63.46, 44.94, -51.41)
CIE-LCHlch(63.46, 68.28, 311.15°)
OKLaboklab(70.36% 0.1002 -0.1441)
OKLCHoklch(70.36% 0.176 304.8)
XYZxyz(44.2280, 32.1471, 91.0459)
Luminance0.3215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97FF6 #BCF67F
analogous
#7F80F6 #B97FF6 #F57FF6
triadic
#B97FF6 #F6B97F #7FF6B9
tetradic
#B97FF6 #F67F80 #BCF67F #7FF6F5
square
#B97FF6 #F67F80 #BCF67F #7FF6F5
split-complementary
#B97FF6 #F6F57F #80F67F
monochromatic
#7B10EA #9A46F2 #B97FF6 #D8B8FA #EFE2FD

Accessibility & contrast

On white

2.83
#B97FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#B97FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97FF6
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97FF6#FFFFFF#000000##000000
##B97FF61.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D98FA
Deuteranopia (green-blind)
#6C9AF3
Tritanopia (blue-blind)
#AF94AF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b97ff6;
/* rgb */ color: rgb(185, 127, 246);
/* oklch */ color: oklch(70.4% 0.176 304.8);
Tailwind
colors: {
  custom: {
    50: '#d0a5fa',
    500: '#b97ff6',
    950: '#000000',
  },
}
SCSS
$custom: #b97ff6;
$custom-light: #d0a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b97ff6",
  "rgb": {
    "r": 185,
    "g": 127,
    "b": 246
  },
  "hsl": {
    "h": 269.244,
    "s": 86.861,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70358,
    "c": 0.17554,
    "h": 304.8
  },
  "luminance": 0.32147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B97FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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