#B8A6FB#B8A6FB

#B8A6FB is a light, vivid violet. Relative luminance 0.444; OKLCH L 77.2% C 0.121 H 293.1°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#B8A6FB
RGBrgb(184, 166, 251)
HSLhsl(253, 91%, 82%)
HSVhsv(253, 34%, 98%)
CMYKcmyk(26.7%, 33.9%, 0%, 1.6%)
CIE-LABlab(72.51, 24.28, -39.93)
CIE-LCHlch(72.51, 46.73, 301.30°)
OKLaboklab(77.25% 0.0473 -0.111)
OKLCHoklch(77.25% 0.121 293.1)
XYZxyz(50.8117, 44.4271, 97.1463)
Luminance0.4443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A6FB #E9FBA6
analogous
#A6BFFB #B8A6FB #E3A6FB
triadic
#B8A6FB #FBB8A6 #A6FBB8
tetradic
#B8A6FB #FBA6BF #E9FBA6 #A6FBE3
square
#B8A6FB #FBA6BF #E9FBA6 #A6FBE3
split-complementary
#B8A6FB #FBE3A6 #BFFBA6
monochromatic
#5B31F6 #896BF8 #B8A6FB #E7E1FE #E8E2FE

Accessibility & contrast

On white

2.12
#B8A6FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#B8A6FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A6FB
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A6FB#FFFFFF#000000##000000
##B8A6FB1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB3FE
Deuteranopia (green-blind)
#91B0F9
Tritanopia (blue-blind)
#AAB5C5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b8a6fb;
/* rgb */ color: rgb(184, 166, 251);
/* oklch */ color: oklch(77.2% 0.121 293.1);
Tailwind
colors: {
  custom: {
    50: '#cfc0fd',
    500: '#b8a6fb',
    950: '#000000',
  },
}
SCSS
$custom: #b8a6fb;
$custom-light: #cfc0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a6fb",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 251
  },
  "hsl": {
    "h": 252.706,
    "s": 91.398,
    "l": 81.765
  },
  "oklch": {
    "l": 0.77249,
    "c": 0.12062,
    "h": 293.1
  },
  "luminance": 0.44428
}

Semantic roles & 50–950 ramp

primary
#B8A6FB
secondary
#EFF6D5
accent
#E600B5
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B8A6FB

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

Preview Lab → · Contrast checker → · Palette generator →

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