#B97FF4#B97FF4

#B97FF4 is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.3% C 0.173 H 305.3°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#B97FF4
RGBrgb(185, 127, 244)
HSLhsl(270, 84%, 73%)
HSVhsv(270, 48%, 96%)
CMYKcmyk(24.2%, 48%, 0%, 4.3%)
CIE-LABlab(63.36, 44.48, -50.47)
CIE-LCHlch(63.36, 67.27, 311.39°)
OKLaboklab(70.25% 0.1 -0.1414)
OKLCHoklch(70.25% 0.173 305.3)
XYZxyz(43.9227, 32.0249, 89.4379)
Luminance0.3202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97FF4 #BAF47F
analogous
#7F7FF4 #B97FF4 #F47FF4
triadic
#B97FF4 #F4B97F #7FF4B9
tetradic
#B97FF4 #F47F7F #BAF47F #7FF4F4
square
#B97FF4 #F47F7F #BAF47F #7FF4F4
split-complementary
#B97FF4 #F4F47F #7FF47F
monochromatic
#7B14E5 #9A47EF #B97FF4 #D8B7F9 #F0E3FD

Accessibility & contrast

On white

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

On black

7.40
#B97FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97FF4
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97FF4#FFFFFF#000000##000000
##B97FF41.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E98F8
Deuteranopia (green-blind)
#6E9AF1
Tritanopia (blue-blind)
#AF93AE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b97ff4;
/* rgb */ color: rgb(185, 127, 244);
/* oklch */ color: oklch(70.3% 0.173 305.3);
Tailwind
colors: {
  custom: {
    50: '#d0a5f8',
    500: '#b97ff4',
    950: '#000000',
  },
}
SCSS
$custom: #b97ff4;
$custom-light: #d0a5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b97ff4",
  "rgb": {
    "r": 185,
    "g": 127,
    "b": 244
  },
  "hsl": {
    "h": 269.744,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.7025,
    "c": 0.17316,
    "h": 305.3
  },
  "luminance": 0.32025
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B97FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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