#B8A6EA#B8A6EA

#B8A6EA is a light, moderate violet. Relative luminance 0.434; OKLCH L 76.5% C 0.098 H 296.2°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#B8A6EA
RGBrgb(184, 166, 234)
HSLhsl(256, 62%, 78%)
HSVhsv(256, 29%, 92%)
CMYKcmyk(21.4%, 29.1%, 0%, 8.2%)
CIE-LABlab(71.83, 20.30, -31.76)
CIE-LCHlch(71.83, 37.69, 302.59°)
OKLaboklab(76.5% 0.043 -0.0875)
OKLCHoklch(76.5% 0.098 296.2)
XYZxyz(48.2513, 43.4029, 83.6615)
Luminance0.4340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A6EA #D8EAA6
analogous
#A6B6EA #B8A6EA #DAA6EA
triadic
#B8A6EA #EAB8A6 #A6EAB8
tetradic
#B8A6EA #EAA6B6 #D8EAA6 #A6EADA
square
#B8A6EA #EAA6B6 #D8EAA6 #A6EADA
split-complementary
#B8A6EA #EADAA6 #B6EAA6
monochromatic
#6943D3 #9074DE #B8A6EA #E0D8F6 #EBE6F9

Accessibility & contrast

On white

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

On black

9.68
#B8A6EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A6EA
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A6EA#FFFFFF#000000##000000
##B8A6EA1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B0ED
Deuteranopia (green-blind)
#99AFE8
Tritanopia (blue-blind)
#AEB1BE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b8a6ea;
/* rgb */ color: rgb(184, 166, 234);
/* oklch */ color: oklch(76.5% 0.098 296.2);
Tailwind
colors: {
  custom: {
    50: '#cec0f1',
    500: '#b8a6ea',
    950: '#000000',
  },
}
SCSS
$custom: #b8a6ea;
$custom-light: #cec0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a6ea",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 234
  },
  "hsl": {
    "h": 255.882,
    "s": 61.818,
    "l": 78.431
  },
  "oklch": {
    "l": 0.76498,
    "c": 0.09755,
    "h": 296.2
  },
  "luminance": 0.43403
}

Semantic roles & 50–950 ramp

primary
#B8A6EA
secondary
#EBF1DA
accent
#CA1C9C
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #B8A6EA

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

Preview Lab → · Contrast checker → · Palette generator →

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