#B8A6EB#B8A6EB

#B8A6EB is a light, moderate violet. Relative luminance 0.435; OKLCH L 76.5% C 0.099 H 296.0°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#B8A6EB
RGBrgb(184, 166, 235)
HSLhsl(256, 63%, 79%)
HSVhsv(256, 29%, 92%)
CMYKcmyk(21.7%, 29.4%, 0%, 7.8%)
CIE-LABlab(71.87, 20.53, -32.24)
CIE-LCHlch(71.87, 38.22, 302.48°)
OKLaboklab(76.54% 0.0433 -0.0889)
OKLCHoklch(76.54% 0.099 296)
XYZxyz(48.3954, 43.4605, 84.4202)
Luminance0.4346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A6EB #D9EBA6
analogous
#A6B6EB #B8A6EB #DAA6EB
triadic
#B8A6EB #EBB8A6 #A6EBB8
tetradic
#B8A6EB #EBA6B6 #D9EBA6 #A6EBDA
square
#B8A6EB #EBA6B6 #D9EBA6 #A6EBDA
split-complementary
#B8A6EB #EBDAA6 #B6EBA6
monochromatic
#6842D5 #9074E0 #B8A6EB #E0D8F6 #EBE6F9

Accessibility & contrast

On white

2.17
#B8A6EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#B8A6EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A6EB
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A6EB#FFFFFF#000000##000000
##B8A6EB1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B1EE
Deuteranopia (green-blind)
#98AFE9
Tritanopia (blue-blind)
#AEB1BF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b8a6eb;
/* rgb */ color: rgb(184, 166, 235);
/* oklch */ color: oklch(76.5% 0.099 296.0);
Tailwind
colors: {
  custom: {
    50: '#cec0f1',
    500: '#b8a6eb',
    950: '#000000',
  },
}
SCSS
$custom: #b8a6eb;
$custom-light: #cec0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a6eb",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 235
  },
  "hsl": {
    "h": 255.652,
    "s": 63.303,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76541,
    "c": 0.09892,
    "h": 296
  },
  "luminance": 0.43461
}

Semantic roles & 50–950 ramp

primary
#B8A6EB
secondary
#EBF1DA
accent
#CB1A9D
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #B8A6EB

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

Preview Lab → · Contrast checker → · Palette generator →

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