#B6A1FA#B6A1FA

#B6A1FA is a light, vivid violet. Relative luminance 0.423; OKLCH L 76.1% C 0.127 H 294.0°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#B6A1FA
RGBrgb(182, 161, 250)
HSLhsl(254, 90%, 81%)
HSVhsv(254, 36%, 98%)
CMYKcmyk(27.2%, 35.6%, 0%, 2%)
CIE-LABlab(71.10, 26.26, -41.60)
CIE-LCHlch(71.10, 49.20, 302.26°)
OKLaboklab(76.12% 0.0516 -0.1158)
OKLCHoklch(76.12% 0.127 294)
XYZxyz(49.2874, 42.3363, 95.9990)
Luminance0.4234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A1FA #E5FAA1
analogous
#A1B8FA #B6A1FA #E2A1FA
triadic
#B6A1FA #FAB6A1 #A1FAB6
tetradic
#B6A1FA #FAA1B8 #E5FAA1 #A1FAE2
square
#B6A1FA #FAA1B8 #E5FAA1 #A1FAE2
split-complementary
#B6A1FA #FAE2A1 #B8FAA1
monochromatic
#5C2DF4 #8967F7 #B6A1FA #E3DBFD #E8E2FD

Accessibility & contrast

On white

2.22
#B6A1FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#B6A1FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A1FA
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A1FA#FFFFFF#000000##000000
##B6A1FA1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AFFE
Deuteranopia (green-blind)
#8CADF8
Tritanopia (blue-blind)
#A8B0C2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b6a1fa;
/* rgb */ color: rgb(182, 161, 250);
/* oklch */ color: oklch(76.1% 0.127 294.0);
Tailwind
colors: {
  custom: {
    50: '#cdbdfc',
    500: '#b6a1fa',
    950: '#000000',
  },
}
SCSS
$custom: #b6a1fa;
$custom-light: #cdbdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a1fa",
  "rgb": {
    "r": 182,
    "g": 161,
    "b": 250
  },
  "hsl": {
    "h": 254.157,
    "s": 89.899,
    "l": 80.588
  },
  "oklch": {
    "l": 0.76117,
    "c": 0.12679,
    "h": 294
  },
  "luminance": 0.42337
}

Semantic roles & 50–950 ramp

primary
#B6A1FA
secondary
#EEF6D5
accent
#E600AF
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B6A1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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