#B8A5FB#B8A5FB

#B8A5FB is a light, vivid violet. Relative luminance 0.441; OKLCH L 77.1% C 0.122 H 293.5°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#B8A5FB
RGBrgb(184, 165, 251)
HSLhsl(253, 91%, 82%)
HSVhsv(253, 34%, 98%)
CMYKcmyk(26.7%, 34.3%, 0%, 1.6%)
CIE-LABlab(72.27, 24.84, -40.31)
CIE-LCHlch(72.27, 47.34, 301.64°)
OKLaboklab(77.07% 0.0487 -0.112)
OKLCHoklch(77.07% 0.122 293.5)
XYZxyz(50.6307, 44.0649, 97.0860)
Luminance0.4407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A5FB #E8FBA5
analogous
#A5BDFB #B8A5FB #E3A5FB
triadic
#B8A5FB #FBB8A5 #A5FBB8
tetradic
#B8A5FB #FBA5BD #E8FBA5 #A5FBE3
square
#B8A5FB #FBA5BD #E8FBA5 #A5FBE3
split-complementary
#B8A5FB #FBE3A5 #BDFBA5
monochromatic
#5C30F6 #8A6AF8 #B8A5FB #E6E0FE #E8E2FE

Accessibility & contrast

On white

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

On black

9.81
#B8A5FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A5FB
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A5FB#FFFFFF#000000##000000
##B8A5FB1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB2FE
Deuteranopia (green-blind)
#90B0F9
Tritanopia (blue-blind)
#AAB4C5
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b8a5fb;
/* rgb */ color: rgb(184, 165, 251);
/* oklch */ color: oklch(77.1% 0.122 293.5);
Tailwind
colors: {
  custom: {
    50: '#cfbffd',
    500: '#b8a5fb',
    950: '#000000',
  },
}
SCSS
$custom: #b8a5fb;
$custom-light: #cfbffd;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a5fb",
  "rgb": {
    "r": 184,
    "g": 165,
    "b": 251
  },
  "hsl": {
    "h": 253.256,
    "s": 91.489,
    "l": 81.569
  },
  "oklch": {
    "l": 0.77065,
    "c": 0.12215,
    "h": 293.5
  },
  "luminance": 0.44066
}

Semantic roles & 50–950 ramp

primary
#B8A5FB
secondary
#EFF6D5
accent
#E600B3
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B8A5FB

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

Preview Lab → · Contrast checker → · Palette generator →

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