#B8A1F8#B8A1F8

#B8A1F8 is a light, vivid violet. Relative luminance 0.425; OKLCH L 76.2% C 0.124 H 295.4°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#B8A1F8
RGBrgb(184, 161, 248)
HSLhsl(256, 86%, 80%)
HSVhsv(256, 35%, 97%)
CMYKcmyk(25.8%, 35.1%, 0%, 2.7%)
CIE-LABlab(71.18, 26.35, -40.37)
CIE-LCHlch(71.18, 48.21, 303.13°)
OKLaboklab(76.19% 0.0534 -0.1122)
OKLCHoklch(76.19% 0.124 295.4)
XYZxyz(49.4513, 42.4568, 94.3784)
Luminance0.4246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A1F8 #E1F8A1
analogous
#A1B5F8 #B8A1F8 #E3A1F8
triadic
#B8A1F8 #F8B8A1 #A1F8B8
tetradic
#B8A1F8 #F8A1B5 #E1F8A1 #A1F8E3
square
#B8A1F8 #F8A1B5 #E1F8A1 #A1F8E3
split-complementary
#B8A1F8 #F8E3A1 #B5F8A1
monochromatic
#622FF0 #8D68F4 #B8A1F8 #E3DAFC #E9E3FD

Accessibility & contrast

On white

2.21
#B8A1F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#B8A1F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A1F8
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A1F8#FFFFFF#000000##000000
##B8A1F81.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAFFB
Deuteranopia (green-blind)
#8EADF6
Tritanopia (blue-blind)
#ABB0C1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b8a1f8;
/* rgb */ color: rgb(184, 161, 248);
/* oklch */ color: oklch(76.2% 0.124 295.4);
Tailwind
colors: {
  custom: {
    50: '#cfbdfb',
    500: '#b8a1f8',
    950: '#000000',
  },
}
SCSS
$custom: #b8a1f8;
$custom-light: #cfbdfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a1f8",
  "rgb": {
    "r": 184,
    "g": 161,
    "b": 248
  },
  "hsl": {
    "h": 255.862,
    "s": 86.139,
    "l": 80.196
  },
  "oklch": {
    "l": 0.76192,
    "c": 0.12429,
    "h": 295.4
  },
  "luminance": 0.42457
}

Semantic roles & 50–950 ramp

primary
#B8A1F8
secondary
#EDF5D6
accent
#E303A7
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B8A1F8

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

Preview Lab → · Contrast checker → · Palette generator →

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