#B97EFF#B97EFF

#B97EFF is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.7% C 0.188 H 303.0°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#B97EFF
RGBrgb(185, 126, 255)
HSLhsl(267, 100%, 75%)
HSVhsv(267, 51%, 100%)
CMYKcmyk(27.5%, 50.6%, 0%, 0%)
CIE-LABlab(63.72, 47.57, -55.96)
CIE-LCHlch(63.72, 73.44, 310.37°)
OKLaboklab(70.7% 0.1023 -0.1574)
OKLCHoklch(70.7% 0.188 303)
XYZxyz(45.5144, 32.4560, 98.4552)
Luminance0.3246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97EFF #C4FF7E
analogous
#7E84FF #B97EFF #FA7EFF
triadic
#B97EFF #FFB97E #7EFFB9
tetradic
#B97EFF #FF7E84 #C4FF7E #7EFFFA
square
#B97EFF #FF7E84 #C4FF7E #7EFFFA
split-complementary
#B97EFF #FFFA7E #84FF7E
monochromatic
#7704FF #9841FF #B97EFF #DABBFF #EEE0FF

Accessibility & contrast

On white

2.80
#B97EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#B97EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97EFF
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97EFF#FFFFFF#000000##000000
##B97EFF1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5499FF
Deuteranopia (green-blind)
#659AFC
Tritanopia (blue-blind)
#AC96B3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b97eff;
/* rgb */ color: rgb(185, 126, 255);
/* oklch */ color: oklch(70.7% 0.188 303.0);
Tailwind
colors: {
  custom: {
    50: '#d1a5ff',
    500: '#b97eff',
    950: '#000000',
  },
}
SCSS
$custom: #b97eff;
$custom-light: #d1a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b97eff",
  "rgb": {
    "r": 185,
    "g": 126,
    "b": 255
  },
  "hsl": {
    "h": 267.442,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70697,
    "c": 0.18773,
    "h": 303
  },
  "luminance": 0.32456
}

Semantic roles & 50–950 ramp

primary
#B97EFF
secondary
#E7F7D4
accent
#E6007D
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B97EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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