#B97EFA#B97EFA

#B97EFA is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.4% C 0.182 H 304.1°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#B97EFA
RGBrgb(185, 126, 250)
HSLhsl(269, 93%, 74%)
HSVhsv(269, 50%, 98%)
CMYKcmyk(26%, 49.6%, 0%, 2%)
CIE-LABlab(63.46, 46.40, -53.63)
CIE-LCHlch(63.46, 70.91, 310.87°)
OKLaboklab(70.42% 0.1019 -0.1506)
OKLCHoklch(70.42% 0.182 304.1)
XYZxyz(44.7200, 32.1383, 94.2713)
Luminance0.3214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97EFA #BFFA7E
analogous
#7E81FA #B97EFA #F77EFA
triadic
#B97EFA #FAB97E #7EFAB9
tetradic
#B97EFA #FA7E81 #BFFA7E #7EFAF7
square
#B97EFA #FA7E81 #BFFA7E #7EFAF7
split-complementary
#B97EFA #FAF77E #81FA7E
monochromatic
#7909F4 #9943F8 #B97EFA #D9B9FC #EFE2FE

Accessibility & contrast

On white

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

On black

7.43
#B97EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97EFA
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97EFA#FFFFFF#000000##000000
##B97EFA1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5898FE
Deuteranopia (green-blind)
#689AF7
Tritanopia (blue-blind)
#AE94B1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b97efa;
/* rgb */ color: rgb(185, 126, 250);
/* oklch */ color: oklch(70.4% 0.182 304.1);
Tailwind
colors: {
  custom: {
    50: '#d1a5fc',
    500: '#b97efa',
    950: '#000000',
  },
}
SCSS
$custom: #b97efa;
$custom-light: #d1a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b97efa",
  "rgb": {
    "r": 185,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 268.548,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70419,
    "c": 0.18182,
    "h": 304.1
  },
  "luminance": 0.32138
}

Semantic roles & 50–950 ramp

primary
#B97EFA
secondary
#E6F6D5
accent
#E60078
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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