#B8A4FC#B8A4FC

#B8A4FC is a light, vivid violet. Relative luminance 0.438; OKLCH L 76.9% C 0.125 H 293.7°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#B8A4FC
RGBrgb(184, 164, 252)
HSLhsl(254, 94%, 82%)
HSVhsv(254, 35%, 99%)
CMYKcmyk(27%, 34.9%, 0%, 1.2%)
CIE-LABlab(72.07, 25.63, -41.16)
CIE-LCHlch(72.07, 48.49, 301.91°)
OKLaboklab(76.93% 0.0502 -0.1145)
OKLCHoklch(76.93% 0.125 293.7)
XYZxyz(50.6090, 43.7688, 97.8585)
Luminance0.4377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A4FC #E8FCA4
analogous
#A4BCFC #B8A4FC #E4A4FC
triadic
#B8A4FC #FCB8A4 #A4FCB8
tetradic
#B8A4FC #FCA4BC #E8FCA4 #A4FCE4
square
#B8A4FC #FCA4BC #E8FCA4 #A4FCE4
split-complementary
#B8A4FC #FCE4A4 #BCFCA4
monochromatic
#5C2EF8 #8A69FA #B8A4FC #E6DFFE #E8E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A4FC#FFFFFF#000000##000000
##B8A4FC1.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)
#8DB2FF
Deuteranopia (green-blind)
#8FAFFA
Tritanopia (blue-blind)
#A9B3C4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b8a4fc;
/* rgb */ color: rgb(184, 164, 252);
/* oklch */ color: oklch(76.9% 0.125 293.7);
Tailwind
colors: {
  custom: {
    50: '#cfbffd',
    500: '#b8a4fc',
    950: '#000000',
  },
}
SCSS
$custom: #b8a4fc;
$custom-light: #cfbffd;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a4fc",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 252
  },
  "hsl": {
    "h": 253.636,
    "s": 93.617,
    "l": 81.569
  },
  "oklch": {
    "l": 0.76927,
    "c": 0.12502,
    "h": 293.7
  },
  "luminance": 0.4377
}

Semantic roles & 50–950 ramp

primary
#B8A4FC
secondary
#EFF6D5
accent
#E600B1
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B8A4FC

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

Preview Lab → · Contrast checker → · Palette generator →

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