#B8A3FD#B8A3FD

#B8A3FD is a light, vivid violet. Relative luminance 0.435; OKLCH L 76.8% C 0.128 H 293.9°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#B8A3FD
RGBrgb(184, 163, 253)
HSLhsl(254, 96%, 82%)
HSVhsv(254, 36%, 99%)
CMYKcmyk(27.3%, 35.6%, 0%, 0.8%)
CIE-LABlab(71.88, 26.43, -42.01)
CIE-LCHlch(71.88, 49.63, 302.18°)
OKLaboklab(76.79% 0.0518 -0.1169)
OKLCHoklch(76.79% 0.128 293.9)
XYZxyz(50.5897, 43.4759, 98.6358)
Luminance0.4348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A3FD #E8FDA3
analogous
#A3BBFD #B8A3FD #E5A3FD
triadic
#B8A3FD #FDB8A3 #A3FDB8
tetradic
#B8A3FD #FDA3BB #E8FDA3 #A3FDE5
square
#B8A3FD #FDA3BB #E8FDA3 #A3FDE5
split-complementary
#B8A3FD #FDE5A3 #BBFDA3
monochromatic
#5C2BFA #8A67FC #B8A3FD #E6DFFE #E8E1FE

Accessibility & contrast

On white

2.17
#B8A3FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#B8A3FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A3FD
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A3FD#FFFFFF#000000##000000
##B8A3FD1.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB1FF
Deuteranopia (green-blind)
#8DAFFB
Tritanopia (blue-blind)
#A9B3C4
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b8a3fd;
/* rgb */ color: rgb(184, 163, 253);
/* oklch */ color: oklch(76.8% 0.128 293.9);
Tailwind
colors: {
  custom: {
    50: '#cfbefe',
    500: '#b8a3fd',
    950: '#000000',
  },
}
SCSS
$custom: #b8a3fd;
$custom-light: #cfbefe;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a3fd",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 253
  },
  "hsl": {
    "h": 254,
    "s": 95.745,
    "l": 81.569
  },
  "oklch": {
    "l": 0.76791,
    "c": 0.1279,
    "h": 293.9
  },
  "luminance": 0.43477
}

Semantic roles & 50–950 ramp

primary
#B8A3FD
secondary
#EFF7D4
accent
#E600B0
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141218
muted
#828186

Preview Lab

Preview with #B8A3FD

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

Preview Lab → · Contrast checker → · Palette generator →

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