#B7A1FA#B7A1FA

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

Color values

HEX#B7A1FA
RGBrgb(183, 161, 250)
HSLhsl(255, 90%, 81%)
HSVhsv(255, 36%, 98%)
CMYKcmyk(26.8%, 35.6%, 0%, 2%)
CIE-LABlab(71.19, 26.54, -41.46)
CIE-LCHlch(71.19, 49.23, 302.62°)
OKLaboklab(76.2% 0.0527 -0.1154)
OKLCHoklch(76.2% 0.127 294.6)
XYZxyz(49.5245, 42.4585, 96.0101)
Luminance0.4246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A1FA #E4FAA1
analogous
#A1B7FA #B7A1FA #E3A1FA
triadic
#B7A1FA #FAB7A1 #A1FAB7
tetradic
#B7A1FA #FAA1B7 #E4FAA1 #A1FAE3
square
#B7A1FA #FAA1B7 #E4FAA1 #A1FAE3
split-complementary
#B7A1FA #FAE3A1 #B7FAA1
monochromatic
#5E2DF4 #8A67F7 #B7A1FA #E4DBFD #E9E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7A1FA#FFFFFF#000000##000000
##B7A1FA1.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)
#89AFFE
Deuteranopia (green-blind)
#8CADF8
Tritanopia (blue-blind)
#A9B0C2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b7a1fa;
/* rgb */ color: rgb(183, 161, 250);
/* oklch */ color: oklch(76.2% 0.127 294.6);
Tailwind
colors: {
  custom: {
    50: '#cebdfc',
    500: '#b7a1fa',
    950: '#000000',
  },
}
SCSS
$custom: #b7a1fa;
$custom-light: #cebdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a1fa",
  "rgb": {
    "r": 183,
    "g": 161,
    "b": 250
  },
  "hsl": {
    "h": 254.831,
    "s": 89.899,
    "l": 80.588
  },
  "oklch": {
    "l": 0.76201,
    "c": 0.12687,
    "h": 294.6
  },
  "luminance": 0.42459
}

Semantic roles & 50–950 ramp

primary
#B7A1FA
secondary
#EEF6D5
accent
#E600AD
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B7A1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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