#B8A7EF#B8A7EF

#B8A7EF is a light, moderate violet. Relative luminance 0.441; OKLCH L 76.9% C 0.103 H 294.7°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#B8A7EF
RGBrgb(184, 167, 239)
HSLhsl(254, 69%, 80%)
HSVhsv(254, 30%, 94%)
CMYKcmyk(23%, 30.1%, 0%, 6.3%)
CIE-LABlab(72.27, 20.89, -33.80)
CIE-LCHlch(72.27, 39.74, 301.73°)
OKLaboklab(76.9% 0.043 -0.0934)
OKLCHoklch(76.9% 0.103 294.7)
XYZxyz(49.1623, 44.0593, 87.5588)
Luminance0.4406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A7EF #DEEFA7
analogous
#A7BAEF #B8A7EF #DCA7EF
triadic
#B8A7EF #EFB8A7 #A7EFB8
tetradic
#B8A7EF #EFA7BA #DEEFA7 #A7EFDC
square
#B8A7EF #EFA7BA #DEEFA7 #A7EFDC
split-complementary
#B8A7EF #EFDCA7 #BAEFA7
monochromatic
#643FDC #8E73E6 #B8A7EF #E2DBF8 #EAE5FA

Accessibility & contrast

On white

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

On black

9.81
#B8A7EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A7EF
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A7EF#FFFFFF#000000##000000
##B8A7EF1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B2F2
Deuteranopia (green-blind)
#98B0ED
Tritanopia (blue-blind)
#ADB3C1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b8a7ef;
/* rgb */ color: rgb(184, 167, 239);
/* oklch */ color: oklch(76.9% 0.103 294.7);
Tailwind
colors: {
  custom: {
    50: '#cec1f4',
    500: '#b8a7ef',
    950: '#000000',
  },
}
SCSS
$custom: #b8a7ef;
$custom-light: #cec1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a7ef",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 239
  },
  "hsl": {
    "h": 254.167,
    "s": 69.231,
    "l": 79.608
  },
  "oklch": {
    "l": 0.76901,
    "c": 0.10278,
    "h": 294.7
  },
  "luminance": 0.4406
}

Semantic roles & 50–950 ramp

primary
#B8A7EF
secondary
#ECF2D9
accent
#D114A5
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #B8A7EF

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

Preview Lab → · Contrast checker → · Palette generator →

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