#B97AEF#B97AEF

#B97AEF is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.2% C 0.175 H 307.3°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#B97AEF
RGBrgb(185, 122, 239)
HSLhsl(272, 79%, 71%)
HSVhsv(272, 49%, 94%)
CMYKcmyk(22.6%, 49%, 0%, 6.3%)
CIE-LABlab(62.05, 46.04, -49.78)
CIE-LCHlch(62.05, 67.81, 312.76°)
OKLaboklab(69.19% 0.1061 -0.1394)
OKLCHoklch(69.19% 0.175 307.3)
XYZxyz(42.5440, 30.4658, 85.2839)
Luminance0.3046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97AEF #B0EF7A
analogous
#7E7AEF #B97AEF #EF7AEA
triadic
#B97AEF #EFB97A #7AEFB9
tetradic
#B97AEF #EF7E7A #B0EF7A #7AEAEF
square
#B97AEF #EF7E7A #B0EF7A #7AEAEF
split-complementary
#B97AEF #EAEF7A #7AEF7E
monochromatic
#7F1AD5 #9C43E8 #B97AEF #D6B1F6 #F1E4FC

Accessibility & contrast

On white

2.96
#B97AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#B97AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97AEF
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97AEF#FFFFFF#000000##000000
##B97AEF1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A94F3
Deuteranopia (green-blind)
#6C97EC
Tritanopia (blue-blind)
#B18EA9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b97aef;
/* rgb */ color: rgb(185, 122, 239);
/* oklch */ color: oklch(69.2% 0.175 307.3);
Tailwind
colors: {
  custom: {
    50: '#d0a2f5',
    500: '#b97aef',
    950: '#000000',
  },
}
SCSS
$custom: #b97aef;
$custom-light: #d0a2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b97aef",
  "rgb": {
    "r": 185,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 272.308,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69193,
    "c": 0.17515,
    "h": 307.3
  },
  "luminance": 0.30465
}

Semantic roles & 50–950 ramp

primary
#B97AEF
secondary
#E1F2D3
accent
#DB0B6B
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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