#B8A6FE#B8A6FE

#B8A6FE is a light, vivid violet. Relative luminance 0.446; OKLCH L 77.4% C 0.125 H 292.6°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#B8A6FE
RGBrgb(184, 166, 254)
HSLhsl(252, 98%, 82%)
HSVhsv(252, 35%, 100%)
CMYKcmyk(27.6%, 34.6%, 0%, 0.4%)
CIE-LABlab(72.64, 25.00, -41.36)
CIE-LCHlch(72.64, 48.32, 301.15°)
OKLaboklab(77.39% 0.048 -0.1151)
OKLCHoklch(77.39% 0.125 292.6)
XYZxyz(51.2884, 44.6177, 99.6567)
Luminance0.4462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A6FE #ECFEA6
analogous
#A6C0FE #B8A6FE #E4A6FE
triadic
#B8A6FE #FEB8A6 #A6FEB8
tetradic
#B8A6FE #FEA6C0 #ECFEA6 #A6FEE4
square
#B8A6FE #FEA6C0 #ECFEA6 #A6FEE4
split-complementary
#B8A6FE #FEE4A6 #C0FEA6
monochromatic
#572DFD #8869FD #B8A6FE #E7E1FF #E7E1FF

Accessibility & contrast

On white

2.12
#B8A6FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#B8A6FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A6FE
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A6FE#FFFFFF#000000##000000
##B8A6FE1.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB3FF
Deuteranopia (green-blind)
#90B1FC
Tritanopia (blue-blind)
#A9B5C6
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b8a6fe;
/* rgb */ color: rgb(184, 166, 254);
/* oklch */ color: oklch(77.4% 0.125 292.6);
Tailwind
colors: {
  custom: {
    50: '#cfc0ff',
    500: '#b8a6fe',
    950: '#000000',
  },
}
SCSS
$custom: #b8a6fe;
$custom-light: #cfc0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a6fe",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 254
  },
  "hsl": {
    "h": 252.273,
    "s": 97.778,
    "l": 82.353
  },
  "oklch": {
    "l": 0.77388,
    "c": 0.12467,
    "h": 292.6
  },
  "luminance": 0.44619
}

Semantic roles & 50–950 ramp

primary
#B8A6FE
secondary
#F0F7D4
accent
#E600B7
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141218
muted
#828186

Preview Lab

Preview with #B8A6FE

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

Preview Lab → · Contrast checker → · Palette generator →

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