#B8A6FA#B8A6FA

#B8A6FA is a light, moderate violet. Relative luminance 0.444; OKLCH L 77.2% C 0.119 H 293.2°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#B8A6FA
RGBrgb(184, 166, 250)
HSLhsl(253, 89%, 82%)
HSVhsv(253, 34%, 98%)
CMYKcmyk(26.4%, 33.6%, 0%, 2%)
CIE-LABlab(72.47, 24.04, -39.45)
CIE-LCHlch(72.47, 46.20, 301.35°)
OKLaboklab(77.2% 0.0471 -0.1096)
OKLCHoklch(77.2% 0.119 293.2)
XYZxyz(50.6545, 44.3642, 96.3184)
Luminance0.4436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A6FA #E8FAA6
analogous
#A6BEFA #B8A6FA #E2A6FA
triadic
#B8A6FA #FAB8A6 #A6FAB8
tetradic
#B8A6FA #FAA6BE #E8FAA6 #A6FAE2
square
#B8A6FA #FAA6BE #E8FAA6 #A6FAE2
split-complementary
#B8A6FA #FAE2A6 #BEFAA6
monochromatic
#5C32F3 #8A6CF7 #B8A6FA #E6E0FD #E8E2FD

Accessibility & contrast

On white

2.13
#B8A6FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#B8A6FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A6FA
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A6FA#FFFFFF#000000##000000
##B8A6FA1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B3FD
Deuteranopia (green-blind)
#92B0F8
Tritanopia (blue-blind)
#AAB4C5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b8a6fa;
/* rgb */ color: rgb(184, 166, 250);
/* oklch */ color: oklch(77.2% 0.119 293.2);
Tailwind
colors: {
  custom: {
    50: '#cfc0fc',
    500: '#b8a6fa',
    950: '#000000',
  },
}
SCSS
$custom: #b8a6fa;
$custom-light: #cfc0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a6fa",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 250
  },
  "hsl": {
    "h": 252.857,
    "s": 89.362,
    "l": 81.569
  },
  "oklch": {
    "l": 0.77204,
    "c": 0.11927,
    "h": 293.2
  },
  "luminance": 0.44365
}

Semantic roles & 50–950 ramp

primary
#B8A6FA
secondary
#EFF5D6
accent
#E600B4
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B8A6FA

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

Preview Lab → · Contrast checker → · Palette generator →

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