#B8A5FA#B8A5FA

#B8A5FA is a light, vivid violet. Relative luminance 0.440; OKLCH L 77.0% C 0.121 H 293.6°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#B8A5FA
RGBrgb(184, 165, 250)
HSLhsl(253, 89%, 81%)
HSVhsv(253, 34%, 98%)
CMYKcmyk(26.4%, 34%, 0%, 2%)
CIE-LABlab(72.23, 24.60, -39.83)
CIE-LCHlch(72.23, 46.81, 301.70°)
OKLaboklab(77.02% 0.0484 -0.1107)
OKLCHoklch(77.02% 0.121 293.6)
XYZxyz(50.4734, 44.0020, 96.2580)
Luminance0.4400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A5FA #E7FAA5
analogous
#A5BDFA #B8A5FA #E3A5FA
triadic
#B8A5FA #FAB8A5 #A5FAB8
tetradic
#B8A5FA #FAA5BD #E7FAA5 #A5FAE3
square
#B8A5FA #FAA5BD #E7FAA5 #A5FAE3
split-complementary
#B8A5FA #FAE3A5 #BDFAA5
monochromatic
#5D31F4 #8A6BF7 #B8A5FA #E6DFFD #E8E2FD

Accessibility & contrast

On white

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

On black

9.80
#B8A5FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A5FA
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A5FA#FFFFFF#000000##000000
##B8A5FA1.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB2FD
Deuteranopia (green-blind)
#91B0F8
Tritanopia (blue-blind)
#AAB4C4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b8a5fa;
/* rgb */ color: rgb(184, 165, 250);
/* oklch */ color: oklch(77.0% 0.121 293.6);
Tailwind
colors: {
  custom: {
    50: '#cfbffc',
    500: '#b8a5fa',
    950: '#000000',
  },
}
SCSS
$custom: #b8a5fa;
$custom-light: #cfbffc;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a5fa",
  "rgb": {
    "r": 184,
    "g": 165,
    "b": 250
  },
  "hsl": {
    "h": 253.412,
    "s": 89.474,
    "l": 81.373
  },
  "oklch": {
    "l": 0.77019,
    "c": 0.1208,
    "h": 293.6
  },
  "luminance": 0.44003
}

Semantic roles & 50–950 ramp

primary
#B8A5FA
secondary
#EEF5D6
accent
#E600B2
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B8A5FA

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

Preview Lab → · Contrast checker → · Palette generator →

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