#B97AEA#B97AEA

#B97AEA is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.9% C 0.169 H 308.5°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#B97AEA
RGBrgb(185, 122, 234)
HSLhsl(274, 73%, 70%)
HSVhsv(274, 48%, 92%)
CMYKcmyk(20.9%, 47.9%, 0%, 8.2%)
CIE-LABlab(61.80, 44.92, -47.41)
CIE-LCHlch(61.80, 65.31, 313.45°)
OKLaboklab(68.93% 0.1055 -0.1324)
OKLCHoklch(68.93% 0.169 308.5)
XYZxyz(41.8155, 30.1744, 81.4473)
Luminance0.3017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97AEA #ABEA7A
analogous
#817AEA #B97AEA #EA7AE3
triadic
#B97AEA #EAB97A #7AEAB9
tetradic
#B97AEA #EA817A #ABEA7A #7AE3EA
square
#B97AEA #EA817A #ABEA7A #7AE3EA
split-complementary
#B97AEA #E3EA7A #7AEA81
monochromatic
#7F20CA #9D45E2 #B97AEA #D5AFF2 #F1E4FB

Accessibility & contrast

On white

2.99
#B97AEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#B97AEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97AEA
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97AEA#FFFFFF#000000##000000
##B97AEA1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93EE
Deuteranopia (green-blind)
#6F96E7
Tritanopia (blue-blind)
#B28DA7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b97aea;
/* rgb */ color: rgb(185, 122, 234);
/* oklch */ color: oklch(68.9% 0.169 308.5);
Tailwind
colors: {
  custom: {
    50: '#d0a2f1',
    500: '#b97aea',
    950: '#000000',
  },
}
SCSS
$custom: #b97aea;
$custom-light: #d0a2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b97aea",
  "rgb": {
    "r": 185,
    "g": 122,
    "b": 234
  },
  "hsl": {
    "h": 273.75,
    "s": 72.727,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68926,
    "c": 0.16934,
    "h": 308.5
  },
  "luminance": 0.30174
}

Semantic roles & 50–950 ramp

primary
#B97AEA
secondary
#DEF0D0
accent
#D51166
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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