#B8A7EA#B8A7EA

#B8A7EA is a light, moderate violet. Relative luminance 0.438; OKLCH L 76.7% C 0.096 H 295.7°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#B8A7EA
RGBrgb(184, 167, 234)
HSLhsl(255, 61%, 79%)
HSVhsv(255, 29%, 92%)
CMYKcmyk(21.4%, 28.6%, 0%, 8.2%)
CIE-LABlab(72.07, 19.74, -31.38)
CIE-LCHlch(72.07, 37.07, 302.18°)
OKLaboklab(76.69% 0.0416 -0.0865)
OKLCHoklch(76.69% 0.096 295.7)
XYZxyz(48.4338, 43.7679, 83.7223)
Luminance0.4377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A7EA #D9EAA7
analogous
#A7B7EA #B8A7EA #D9A7EA
triadic
#B8A7EA #EAB8A7 #A7EAB8
tetradic
#B8A7EA #EAA7B7 #D9EAA7 #A7EAD9
square
#B8A7EA #EAA7B7 #D9EAA7 #A7EAD9
split-complementary
#B8A7EA #EAD9A7 #B7EAA7
monochromatic
#6844D2 #9076DE #B8A7EA #E0D8F6 #EBE6F9

Accessibility & contrast

On white

2.15
#B8A7EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#B8A7EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A7EA
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A7EA#FFFFFF#000000##000000
##B8A7EA1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B1ED
Deuteranopia (green-blind)
#9AB0E8
Tritanopia (blue-blind)
#AEB2BF
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b8a7ea;
/* rgb */ color: rgb(184, 167, 234);
/* oklch */ color: oklch(76.7% 0.096 295.7);
Tailwind
colors: {
  custom: {
    50: '#cec1f1',
    500: '#b8a7ea',
    950: '#000000',
  },
}
SCSS
$custom: #b8a7ea;
$custom-light: #cec1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a7ea",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 234
  },
  "hsl": {
    "h": 255.224,
    "s": 61.468,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76687,
    "c": 0.09597,
    "h": 295.7
  },
  "luminance": 0.43768
}

Semantic roles & 50–950 ramp

primary
#B8A7EA
secondary
#EBF0DB
accent
#C91C9D
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #B8A7EA

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

Preview Lab → · Contrast checker → · Palette generator →

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