#B8A5FD#B8A5FD

#B8A5FD is a light, vivid violet. Relative luminance 0.442; OKLCH L 77.2% C 0.125 H 293.2°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#B8A5FD
RGBrgb(184, 165, 253)
HSLhsl(253, 96%, 82%)
HSVhsv(253, 35%, 99%)
CMYKcmyk(27.3%, 34.8%, 0%, 0.8%)
CIE-LABlab(72.36, 25.31, -41.26)
CIE-LCHlch(72.36, 48.40, 301.53°)
OKLaboklab(77.16% 0.0491 -0.1148)
OKLCHoklch(77.16% 0.125 293.2)
XYZxyz(50.9476, 44.1917, 98.7551)
Luminance0.4419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A5FD #EAFDA5
analogous
#A5BEFD #B8A5FD #E4A5FD
triadic
#B8A5FD #FDB8A5 #A5FDB8
tetradic
#B8A5FD #FDA5BE #EAFDA5 #A5FDE4
square
#B8A5FD #FDA5BE #EAFDA5 #A5FDE4
split-complementary
#B8A5FD #FDE4A5 #BEFDA5
monochromatic
#5A2DFA #8969FC #B8A5FD #E7E1FE #E7E1FE

Accessibility & contrast

On white

2.13
#B8A5FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#B8A5FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A5FD
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A5FD#FFFFFF#000000##000000
##B8A5FD1.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8a5fd;
/* rgb */ color: rgb(184, 165, 253);
/* oklch */ color: oklch(77.2% 0.125 293.2);
Tailwind
colors: {
  custom: {
    50: '#cfbffe',
    500: '#b8a5fd',
    950: '#000000',
  },
}
SCSS
$custom: #b8a5fd;
$custom-light: #cfbffe;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a5fd",
  "rgb": {
    "r": 184,
    "g": 165,
    "b": 253
  },
  "hsl": {
    "h": 252.955,
    "s": 95.652,
    "l": 81.961
  },
  "oklch": {
    "l": 0.77157,
    "c": 0.12484,
    "h": 293.2
  },
  "luminance": 0.44192
}

Semantic roles & 50–950 ramp

primary
#B8A5FD
secondary
#EFF7D4
accent
#E600B4
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141218
muted
#828186

Preview Lab

Preview with #B8A5FD

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

Preview Lab → · Contrast checker → · Palette generator →

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