#B8A1FC#B8A1FC

#B8A1FC is a light, vivid violet. Relative luminance 0.427; OKLCH L 76.4% C 0.130 H 294.8°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#B8A1FC
RGBrgb(184, 161, 252)
HSLhsl(255, 94%, 81%)
HSVhsv(255, 36%, 99%)
CMYKcmyk(27%, 36.1%, 0%, 1.2%)
CIE-LABlab(71.36, 27.30, -42.28)
CIE-LCHlch(71.36, 50.33, 302.85°)
OKLaboklab(76.38% 0.0543 -0.1177)
OKLCHoklch(76.38% 0.13 294.8)
XYZxyz(50.0785, 42.7077, 97.6816)
Luminance0.4271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A1FC #E5FCA1
analogous
#A1B7FC #B8A1FC #E5A1FC
triadic
#B8A1FC #FCB8A1 #A1FCB8
tetradic
#B8A1FC #FCA1B7 #E5FCA1 #A1FCE5
square
#B8A1FC #FCA1B7 #E5FCA1 #A1FCE5
split-complementary
#B8A1FC #FCE5A1 #B7FCA1
monochromatic
#5E2AF8 #8B66FA #B8A1FC #E5DCFE #E9E1FE

Accessibility & contrast

On white

2.20
#B8A1FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#B8A1FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A1FC
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A1FC#FFFFFF#000000##000000
##B8A1FC1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B0FF
Deuteranopia (green-blind)
#8CADFA
Tritanopia (blue-blind)
#AAB1C3
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8a1fc;
/* rgb */ color: rgb(184, 161, 252);
/* oklch */ color: oklch(76.4% 0.130 294.8);
Tailwind
colors: {
  custom: {
    50: '#cfbdfd',
    500: '#b8a1fc',
    950: '#000000',
  },
}
SCSS
$custom: #b8a1fc;
$custom-light: #cfbdfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a1fc",
  "rgb": {
    "r": 184,
    "g": 161,
    "b": 252
  },
  "hsl": {
    "h": 255.165,
    "s": 93.814,
    "l": 80.98
  },
  "oklch": {
    "l": 0.76379,
    "c": 0.12964,
    "h": 294.8
  },
  "luminance": 0.42708
}

Semantic roles & 50–950 ramp

primary
#B8A1FC
secondary
#EEF6D5
accent
#E600AB
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141218
muted
#828186

Preview Lab

Preview with #B8A1FC

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

Preview Lab → · Contrast checker → · Palette generator →

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