#B7A6FA#B7A6FA

#B7A6FA is a light, moderate violet. Relative luminance 0.442; OKLCH L 77.1% C 0.119 H 292.7°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#B7A6FA
RGBrgb(183, 166, 250)
HSLhsl(252, 89%, 82%)
HSVhsv(252, 34%, 98%)
CMYKcmyk(26.8%, 33.6%, 0%, 2%)
CIE-LABlab(72.39, 23.75, -39.59)
CIE-LCHlch(72.39, 46.17, 300.97°)
OKLaboklab(77.12% 0.046 -0.11)
OKLCHoklch(77.12% 0.119 292.7)
XYZxyz(50.4158, 44.2411, 96.3072)
Luminance0.4424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A6FA #E9FAA6
analogous
#A6BFFA #B7A6FA #E1A6FA
triadic
#B7A6FA #FAB7A6 #A6FAB7
tetradic
#B7A6FA #FAA6BF #E9FAA6 #A6FAE1
square
#B7A6FA #FAA6BF #E9FAA6 #A6FAE1
split-complementary
#B7A6FA #FAE1A6 #BFFAA6
monochromatic
#5932F3 #886CF7 #B7A6FA #E6E0FD #E8E2FD

Accessibility & contrast

On white

2.13
#B7A6FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#B7A6FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A6FA
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A6FA#FFFFFF#000000##000000
##B7A6FA1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B3FD
Deuteranopia (green-blind)
#91B0F8
Tritanopia (blue-blind)
#A9B4C5
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b7a6fa;
/* rgb */ color: rgb(183, 166, 250);
/* oklch */ color: oklch(77.1% 0.119 292.7);
Tailwind
colors: {
  custom: {
    50: '#cec0fc',
    500: '#b7a6fa',
    950: '#000000',
  },
}
SCSS
$custom: #b7a6fa;
$custom-light: #cec0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a6fa",
  "rgb": {
    "r": 183,
    "g": 166,
    "b": 250
  },
  "hsl": {
    "h": 252.143,
    "s": 89.362,
    "l": 81.569
  },
  "oklch": {
    "l": 0.77121,
    "c": 0.11921,
    "h": 292.7
  },
  "luminance": 0.44242
}

Semantic roles & 50–950 ramp

primary
#B7A6FA
secondary
#EFF5D6
accent
#E600B7
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B7A6FA

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

Preview Lab → · Contrast checker → · Palette generator →

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