#B97AEC#B97AEC

#B97AEC is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.0% C 0.172 H 308.0°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#B97AEC
RGBrgb(185, 122, 236)
HSLhsl(273, 75%, 70%)
HSVhsv(273, 48%, 93%)
CMYKcmyk(21.6%, 48.3%, 0%, 7.5%)
CIE-LABlab(61.90, 45.36, -48.36)
CIE-LCHlch(61.90, 66.31, 313.17°)
OKLaboklab(69.03% 0.1058 -0.1352)
OKLCHoklch(69.03% 0.172 308)
XYZxyz(42.1045, 30.2900, 82.9691)
Luminance0.3029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97AEC #ADEC7A
analogous
#807AEC #B97AEC #EC7AE6
triadic
#B97AEC #ECB97A #7AECB9
tetradic
#B97AEC #EC807A #ADEC7A #7AE6EC
square
#B97AEC #EC807A #ADEC7A #7AE6EC
split-complementary
#B97AEC #E6EC7A #7AEC80
monochromatic
#7F1DCE #9D44E4 #B97AEC #D5B0F4 #F1E4FB

Accessibility & contrast

On white

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

On black

7.06
#B97AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97AEC
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97AEC#FFFFFF#000000##000000
##B97AEC1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C93F0
Deuteranopia (green-blind)
#6E96E9
Tritanopia (blue-blind)
#B28DA8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b97aec;
/* rgb */ color: rgb(185, 122, 236);
/* oklch */ color: oklch(69.0% 0.172 308.0);
Tailwind
colors: {
  custom: {
    50: '#d0a2f2',
    500: '#b97aec',
    950: '#000000',
  },
}
SCSS
$custom: #b97aec;
$custom-light: #d0a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b97aec",
  "rgb": {
    "r": 185,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 273.158,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69032,
    "c": 0.17167,
    "h": 308
  },
  "luminance": 0.30289
}

Semantic roles & 50–950 ramp

primary
#B97AEC
secondary
#DFF1D1
accent
#D70E68
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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