#B97EF4#B97EF4

#B97EF4 is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.1% C 0.175 H 305.4°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#B97EF4
RGBrgb(185, 126, 244)
HSLhsl(270, 84%, 73%)
HSVhsv(270, 48%, 96%)
CMYKcmyk(24.2%, 48.4%, 0%, 4.3%)
CIE-LABlab(63.15, 45.02, -50.81)
CIE-LCHlch(63.15, 67.88, 311.54°)
OKLaboklab(70.09% 0.1013 -0.1424)
OKLCHoklch(70.09% 0.175 305.4)
XYZxyz(43.7942, 31.7679, 89.3951)
Luminance0.3177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97EF4 #B9F47E
analogous
#7E7EF4 #B97EF4 #F47EF4
triadic
#B97EF4 #F4B97E #7EF4B9
tetradic
#B97EF4 #F47E7E #B9F47E #7EF4F4
square
#B97EF4 #F47E7E #B9F47E #7EF4F4
split-complementary
#B97EF4 #F4F47E #7EF47E
monochromatic
#7C13E4 #9A46EF #B97EF4 #D8B6F9 #F0E3FD

Accessibility & contrast

On white

2.86
#B97EF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#B97EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97EF4
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97EF4#FFFFFF#000000##000000
##B97EF41.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b97ef4;
/* rgb */ color: rgb(185, 126, 244);
/* oklch */ color: oklch(70.1% 0.175 305.4);
Tailwind
colors: {
  custom: {
    50: '#d0a5f8',
    500: '#b97ef4',
    950: '#000000',
  },
}
SCSS
$custom: #b97ef4;
$custom-light: #d0a5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b97ef4",
  "rgb": {
    "r": 185,
    "g": 126,
    "b": 244
  },
  "hsl": {
    "h": 270,
    "s": 84.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70091,
    "c": 0.17473,
    "h": 305.4
  },
  "luminance": 0.31768
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B97EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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