#B8A6EE#B8A6EE

#B8A6EE is a light, moderate violet. Relative luminance 0.436; OKLCH L 76.7% C 0.103 H 295.3°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#B8A6EE
RGBrgb(184, 166, 238)
HSLhsl(255, 68%, 79%)
HSVhsv(255, 30%, 93%)
CMYKcmyk(22.7%, 30.3%, 0%, 6.7%)
CIE-LABlab(71.98, 21.22, -33.69)
CIE-LCHlch(71.98, 39.82, 302.20°)
OKLaboklab(76.67% 0.0441 -0.0931)
OKLCHoklch(76.67% 0.103 295.3)
XYZxyz(48.8324, 43.6354, 86.7221)
Luminance0.4364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A6EE #DCEEA6
analogous
#A6B8EE #B8A6EE #DCA6EE
triadic
#B8A6EE #EEB8A6 #A6EEB8
tetradic
#B8A6EE #EEA6B8 #DCEEA6 #A6EEDC
square
#B8A6EE #EEA6B8 #DCEEA6 #A6EEDC
split-complementary
#B8A6EE #EEDCA6 #B8EEA6
monochromatic
#663FDA #8F73E4 #B8A6EE #E1D9F8 #EBE5FA

Accessibility & contrast

On white

2.16
#B8A6EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#B8A6EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A6EE
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A6EE#FFFFFF#000000##000000
##B8A6EE1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B1F1
Deuteranopia (green-blind)
#97AFEC
Tritanopia (blue-blind)
#ADB2C0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b8a6ee;
/* rgb */ color: rgb(184, 166, 238);
/* oklch */ color: oklch(76.7% 0.103 295.3);
Tailwind
colors: {
  custom: {
    50: '#cec0f3',
    500: '#b8a6ee',
    950: '#000000',
  },
}
SCSS
$custom: #b8a6ee;
$custom-light: #cec0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a6ee",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 238
  },
  "hsl": {
    "h": 255,
    "s": 67.925,
    "l": 79.216
  },
  "oklch": {
    "l": 0.7667,
    "c": 0.10299,
    "h": 295.3
  },
  "luminance": 0.43636
}

Semantic roles & 50–950 ramp

primary
#B8A6EE
secondary
#ECF2D9
accent
#D016A1
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #B8A6EE

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

Preview Lab → · Contrast checker → · Palette generator →

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