#B8A6FC#B8A6FC

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

Color values

HEX#B8A6FC
RGBrgb(184, 166, 252)
HSLhsl(253, 93%, 82%)
HSVhsv(253, 34%, 99%)
CMYKcmyk(27%, 34.1%, 0%, 1.2%)
CIE-LABlab(72.56, 24.52, -40.41)
CIE-LCHlch(72.56, 47.26, 301.25°)
OKLaboklab(77.3% 0.0475 -0.1123)
OKLCHoklch(77.3% 0.122 292.9)
XYZxyz(50.9698, 44.4903, 97.9787)
Luminance0.4449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A6FC #EAFCA6
analogous
#A6BFFC #B8A6FC #E3A6FC
triadic
#B8A6FC #FCB8A6 #A6FCB8
tetradic
#B8A6FC #FCA6BF #EAFCA6 #A6FCE3
square
#B8A6FC #FCA6BF #EAFCA6 #A6FCE3
split-complementary
#B8A6FC #FCE3A6 #BFFCA6
monochromatic
#5A30F8 #896BFA #B8A6FC #E7E1FE #E7E1FE

Accessibility & contrast

On white

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

On black

9.90
#B8A6FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A6FC
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A6FC#FFFFFF#000000##000000
##B8A6FC1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB3FF
Deuteranopia (green-blind)
#91B0FA
Tritanopia (blue-blind)
#A9B5C6
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b8a6fc;
/* rgb */ color: rgb(184, 166, 252);
/* oklch */ color: oklch(77.3% 0.122 292.9);
Tailwind
colors: {
  custom: {
    50: '#cfc0fd',
    500: '#b8a6fc',
    950: '#000000',
  },
}
SCSS
$custom: #b8a6fc;
$custom-light: #cfc0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a6fc",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 252
  },
  "hsl": {
    "h": 252.558,
    "s": 93.478,
    "l": 81.961
  },
  "oklch": {
    "l": 0.77295,
    "c": 0.12198,
    "h": 292.9
  },
  "luminance": 0.44491
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8A6FC

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

Preview Lab → · Contrast checker → · Palette generator →

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