#B8A7EE#B8A7EE

#B8A7EE is a light, moderate violet. Relative luminance 0.440; OKLCH L 76.9% C 0.101 H 294.9°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#B8A7EE
RGBrgb(184, 167, 238)
HSLhsl(254, 68%, 79%)
HSVhsv(254, 30%, 93%)
CMYKcmyk(22.7%, 29.8%, 0%, 6.7%)
CIE-LABlab(72.23, 20.66, -33.31)
CIE-LCHlch(72.23, 39.20, 301.81°)
OKLaboklab(76.86% 0.0427 -0.092)
OKLCHoklch(76.86% 0.101 294.9)
XYZxyz(49.0149, 44.0003, 86.7829)
Luminance0.4400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A7EE #DDEEA7
analogous
#A7BAEE #B8A7EE #DCA7EE
triadic
#B8A7EE #EEB8A7 #A7EEB8
tetradic
#B8A7EE #EEA7BA #DDEEA7 #A7EEDC
square
#B8A7EE #EEA7BA #DDEEA7 #A7EEDC
split-complementary
#B8A7EE #EEDCA7 #BAEEA7
monochromatic
#6540DA #8F74E4 #B8A7EE #E1DAF8 #EAE5FA

Accessibility & contrast

On white

2.14
#B8A7EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#B8A7EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A7EE
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A7EE#FFFFFF#000000##000000
##B8A7EE1.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B2F1
Deuteranopia (green-blind)
#98B0EC
Tritanopia (blue-blind)
#ADB3C0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b8a7ee;
/* rgb */ color: rgb(184, 167, 238);
/* oklch */ color: oklch(76.9% 0.101 294.9);
Tailwind
colors: {
  custom: {
    50: '#cec1f3',
    500: '#b8a7ee',
    950: '#000000',
  },
}
SCSS
$custom: #b8a7ee;
$custom-light: #cec1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a7ee",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 238
  },
  "hsl": {
    "h": 254.366,
    "s": 67.619,
    "l": 79.412
  },
  "oklch": {
    "l": 0.76858,
    "c": 0.10142,
    "h": 294.9
  },
  "luminance": 0.44001
}

Semantic roles & 50–950 ramp

primary
#B8A7EE
secondary
#ECF2D9
accent
#D016A3
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #B8A7EE

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

Preview Lab → · Contrast checker → · Palette generator →

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