#B8A5FF#B8A5FF

#B8A5FF is a light, vivid violet. Relative luminance 0.443; OKLCH L 77.3% C 0.128 H 292.9°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#B8A5FF
RGBrgb(184, 165, 255)
HSLhsl(253, 100%, 82%)
HSVhsv(253, 35%, 100%)
CMYKcmyk(27.8%, 35.3%, 0%, 0%)
CIE-LABlab(72.44, 25.80, -42.21)
CIE-LCHlch(72.44, 49.47, 301.43°)
OKLaboklab(77.25% 0.0495 -0.1175)
OKLCHoklch(77.25% 0.128 292.9)
XYZxyz(51.2679, 44.3198, 100.4419)
Luminance0.4432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A5FF #ECFFA5
analogous
#A5BFFF #B8A5FF #E5A5FF
triadic
#B8A5FF #FFB8A5 #A5FFB8
tetradic
#B8A5FF #FFA5BF #ECFFA5 #A5FFE5
square
#B8A5FF #FFA5BF #ECFFA5 #A5FFE5
split-complementary
#B8A5FF #FFE5A5 #BFFFA5
monochromatic
#572BFF #8868FF #B8A5FF #E7E0FF #E7E0FF

Accessibility & contrast

On white

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

On black

9.86
#B8A5FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A5FF
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A5FF#FFFFFF#000000##000000
##B8A5FF1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB3FF
Deuteranopia (green-blind)
#8EB0FD
Tritanopia (blue-blind)
#A8B5C6
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b8a5ff;
/* rgb */ color: rgb(184, 165, 255);
/* oklch */ color: oklch(77.3% 0.128 292.9);
Tailwind
colors: {
  custom: {
    50: '#cfbfff',
    500: '#b8a5ff',
    950: '#000000',
  },
}
SCSS
$custom: #b8a5ff;
$custom-light: #cfbfff;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a5ff",
  "rgb": {
    "r": 184,
    "g": 165,
    "b": 255
  },
  "hsl": {
    "h": 252.667,
    "s": 100,
    "l": 82.353
  },
  "oklch": {
    "l": 0.77251,
    "c": 0.12754,
    "h": 292.9
  },
  "luminance": 0.44321
}

Semantic roles & 50–950 ramp

primary
#B8A5FF
secondary
#F0F7D4
accent
#E600B5
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141218
muted
#828186

Preview Lab

Preview with #B8A5FF

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

Preview Lab → · Contrast checker → · Palette generator →

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