#B8A4F9#B8A4F9

#B8A4F9 is a light, vivid violet. Relative luminance 0.436; OKLCH L 76.8% C 0.121 H 294.2°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#B8A4F9
RGBrgb(184, 164, 249)
HSLhsl(254, 88%, 81%)
HSVhsv(254, 34%, 98%)
CMYKcmyk(26.1%, 34.1%, 0%, 2.4%)
CIE-LABlab(71.95, 24.91, -39.73)
CIE-LCHlch(71.95, 46.89, 302.09°)
OKLaboklab(76.79% 0.0495 -0.1104)
OKLCHoklch(76.79% 0.121 294.2)
XYZxyz(50.1374, 43.5802, 95.3745)
Luminance0.4358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A4F9 #E5F9A4
analogous
#A4BAF9 #B8A4F9 #E2A4F9
triadic
#B8A4F9 #F9B8A4 #A4F9B8
tetradic
#B8A4F9 #F9A4BA #E5F9A4 #A4F9E2
square
#B8A4F9 #F9A4BA #E5F9A4 #A4F9E2
split-complementary
#B8A4F9 #F9E2A4 #BAF9A4
monochromatic
#5E31F1 #8B6BF5 #B8A4F9 #E5DDFD #E9E2FD

Accessibility & contrast

On white

2.16
#B8A4F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#B8A4F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A4F9
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A4F9#FFFFFF#000000##000000
##B8A4F91.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB1FC
Deuteranopia (green-blind)
#90AFF7
Tritanopia (blue-blind)
#AAB2C3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b8a4f9;
/* rgb */ color: rgb(184, 164, 249);
/* oklch */ color: oklch(76.8% 0.121 294.2);
Tailwind
colors: {
  custom: {
    50: '#cfbffb',
    500: '#b8a4f9',
    950: '#000000',
  },
}
SCSS
$custom: #b8a4f9;
$custom-light: #cfbffb;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a4f9",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 249
  },
  "hsl": {
    "h": 254.118,
    "s": 87.629,
    "l": 80.98
  },
  "oklch": {
    "l": 0.76789,
    "c": 0.12099,
    "h": 294.2
  },
  "luminance": 0.43581
}

Semantic roles & 50–950 ramp

primary
#B8A4F9
secondary
#EEF5D6
accent
#E401AF
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B8A4F9

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

Preview Lab → · Contrast checker → · Palette generator →

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