#B97FF3#B97FF3

#B97FF3 is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.2% C 0.172 H 305.5°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#B97FF3
RGBrgb(185, 127, 243)
HSLhsl(270, 83%, 73%)
HSVhsv(270, 48%, 95%)
CMYKcmyk(23.9%, 47.7%, 0%, 4.7%)
CIE-LABlab(63.31, 44.25, -50.00)
CIE-LCHlch(63.31, 66.77, 311.51°)
OKLaboklab(70.2% 0.0999 -0.14)
OKLCHoklch(70.2% 0.172 305.5)
XYZxyz(43.7712, 31.9644, 88.6404)
Luminance0.3196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97FF3 #B9F37F
analogous
#7F7FF3 #B97FF3 #F37FF3
triadic
#B97FF3 #F3B97F #7FF3B9
tetradic
#B97FF3 #F37F7F #B9F37F #7FF3F3
square
#B97FF3 #F37F7F #B9F37F #7FF3F3
split-complementary
#B97FF3 #F3F37F #7FF37F
monochromatic
#7C15E2 #9A47EE #B97FF3 #D8B7F8 #F0E3FC

Accessibility & contrast

On white

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

On black

7.39
#B97FF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97FF3
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97FF3#FFFFFF#000000##000000
##B97FF31.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F97F7
Deuteranopia (green-blind)
#6E9AF0
Tritanopia (blue-blind)
#B093AE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b97ff3;
/* rgb */ color: rgb(185, 127, 243);
/* oklch */ color: oklch(70.2% 0.172 305.5);
Tailwind
colors: {
  custom: {
    50: '#d0a5f7',
    500: '#b97ff3',
    950: '#000000',
  },
}
SCSS
$custom: #b97ff3;
$custom-light: #d0a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b97ff3",
  "rgb": {
    "r": 185,
    "g": 127,
    "b": 243
  },
  "hsl": {
    "h": 270,
    "s": 82.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70196,
    "c": 0.17198,
    "h": 305.5
  },
  "luminance": 0.31964
}

Semantic roles & 50–950 ramp

primary
#B97FF3
secondary
#E6F4D7
accent
#DF0673
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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