#B8A4FE#B8A4FE

#B8A4FE is a light, vivid violet. Relative luminance 0.439; OKLCH L 77.0% C 0.128 H 293.4°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#B8A4FE
RGBrgb(184, 164, 254)
HSLhsl(253, 98%, 82%)
HSVhsv(253, 35%, 100%)
CMYKcmyk(27.6%, 35.4%, 0%, 0.4%)
CIE-LABlab(72.16, 26.11, -42.11)
CIE-LCHlch(72.16, 49.55, 301.80°)
OKLaboklab(77.02% 0.0507 -0.1172)
OKLCHoklch(77.02% 0.128 293.4)
XYZxyz(50.9276, 43.8963, 99.5364)
Luminance0.4390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A4FE #EAFEA4
analogous
#A4BDFE #B8A4FE #E5A4FE
triadic
#B8A4FE #FEB8A4 #A4FEB8
tetradic
#B8A4FE #FEA4BD #EAFEA4 #A4FEE5
square
#B8A4FE #FEA4BD #EAFEA4 #A4FEE5
split-complementary
#B8A4FE #FEE5A4 #BDFEA4
monochromatic
#5A2BFD #8967FD #B8A4FE #E7E1FF #E7E1FF

Accessibility & contrast

On white

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

On black

9.78
#B8A4FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A4FE
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A4FE#FFFFFF#000000##000000
##B8A4FE1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB2FF
Deuteranopia (green-blind)
#8EAFFC
Tritanopia (blue-blind)
#A9B4C5
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b8a4fe;
/* rgb */ color: rgb(184, 164, 254);
/* oklch */ color: oklch(77.0% 0.128 293.4);
Tailwind
colors: {
  custom: {
    50: '#cfbfff',
    500: '#b8a4fe',
    950: '#000000',
  },
}
SCSS
$custom: #b8a4fe;
$custom-light: #cfbfff;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a4fe",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 254
  },
  "hsl": {
    "h": 253.333,
    "s": 97.826,
    "l": 81.961
  },
  "oklch": {
    "l": 0.77021,
    "c": 0.12771,
    "h": 293.4
  },
  "luminance": 0.43897
}

Semantic roles & 50–950 ramp

primary
#B8A4FE
secondary
#EFF7D4
accent
#E600B3
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141218
muted
#828186

Preview Lab

Preview with #B8A4FE

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

Preview Lab → · Contrast checker → · Palette generator →

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