#B97FF5#B97FF5

#B97FF5 is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.3% C 0.174 H 305.0°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#B97FF5
RGBrgb(185, 127, 245)
HSLhsl(269, 86%, 73%)
HSVhsv(269, 48%, 96%)
CMYKcmyk(24.5%, 48.2%, 0%, 3.9%)
CIE-LABlab(63.41, 44.71, -50.94)
CIE-LCHlch(63.41, 67.78, 311.27°)
OKLaboklab(70.3% 0.1001 -0.1427)
OKLCHoklch(70.3% 0.174 305)
XYZxyz(44.0749, 32.0858, 90.2397)
Luminance0.3209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97FF5 #BBF57F
analogous
#7F80F5 #B97FF5 #F47FF5
triadic
#B97FF5 #F5B97F #7FF5B9
tetradic
#B97FF5 #F57F80 #BBF57F #7FF5F4
square
#B97FF5 #F57F80 #BBF57F #7FF5F4
split-complementary
#B97FF5 #F5F47F #80F57F
monochromatic
#7B12E8 #9A46F1 #B97FF5 #D8B8F9 #EFE3FD

Accessibility & contrast

On white

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

On black

7.42
#B97FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97FF5
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97FF5#FFFFFF#000000##000000
##B97FF51.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b97ff5;
/* rgb */ color: rgb(185, 127, 245);
/* oklch */ color: oklch(70.3% 0.174 305.0);
Tailwind
colors: {
  custom: {
    50: '#d0a5f9',
    500: '#b97ff5',
    950: '#000000',
  },
}
SCSS
$custom: #b97ff5;
$custom-light: #d0a5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b97ff5",
  "rgb": {
    "r": 185,
    "g": 127,
    "b": 245
  },
  "hsl": {
    "h": 269.492,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70304,
    "c": 0.17434,
    "h": 305
  },
  "luminance": 0.32086
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B97FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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