#B97AEB#B97AEB

#B97AEB is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.0% C 0.171 H 308.3°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#B97AEB
RGBrgb(185, 122, 235)
HSLhsl(273, 74%, 70%)
HSVhsv(273, 48%, 92%)
CMYKcmyk(21.3%, 48.1%, 0%, 7.8%)
CIE-LABlab(61.85, 45.14, -47.88)
CIE-LCHlch(61.85, 65.81, 313.31°)
OKLaboklab(68.98% 0.1057 -0.1338)
OKLCHoklch(68.98% 0.171 308.3)
XYZxyz(41.9596, 30.2320, 82.2061)
Luminance0.3023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97AEB #ACEB7A
analogous
#807AEB #B97AEB #EB7AE5
triadic
#B97AEB #EBB97A #7AEBB9
tetradic
#B97AEB #EB807A #ACEB7A #7AE5EB
square
#B97AEB #EB807A #ACEB7A #7AE5EB
split-complementary
#B97AEB #E5EB7A #7AEB80
monochromatic
#7F1FCC #9D45E3 #B97AEB #D5AFF3 #F1E4FB

Accessibility & contrast

On white

2.98
#B97AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#B97AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97AEB
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97AEB#FFFFFF#000000##000000
##B97AEB1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93EF
Deuteranopia (green-blind)
#6E96E8
Tritanopia (blue-blind)
#B28DA8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b97aeb;
/* rgb */ color: rgb(185, 122, 235);
/* oklch */ color: oklch(69.0% 0.171 308.3);
Tailwind
colors: {
  custom: {
    50: '#d0a2f2',
    500: '#b97aeb',
    950: '#000000',
  },
}
SCSS
$custom: #b97aeb;
$custom-light: #d0a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b97aeb",
  "rgb": {
    "r": 185,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 273.451,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.68979,
    "c": 0.17051,
    "h": 308.3
  },
  "luminance": 0.30232
}

Semantic roles & 50–950 ramp

primary
#B97AEB
secondary
#DFF0D1
accent
#D61067
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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