#B7A6EA#B7A6EA

#B7A6EA is a light, moderate violet. Relative luminance 0.433; OKLCH L 76.4% C 0.097 H 295.5°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#B7A6EA
RGBrgb(183, 166, 234)
HSLhsl(255, 62%, 78%)
HSVhsv(255, 29%, 92%)
CMYKcmyk(21.8%, 29.1%, 0%, 8.2%)
CIE-LABlab(71.74, 20.00, -31.89)
CIE-LCHlch(71.74, 37.64, 302.09°)
OKLaboklab(76.41% 0.0419 -0.0879)
OKLCHoklch(76.41% 0.097 295.5)
XYZxyz(48.0126, 43.2798, 83.6503)
Luminance0.4328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A6EA #D9EAA6
analogous
#A6B7EA #B7A6EA #D9A6EA
triadic
#B7A6EA #EAB7A6 #A6EAB7
tetradic
#B7A6EA #EAA6B7 #D9EAA6 #A6EAD9
square
#B7A6EA #EAA6B7 #D9EAA6 #A6EAD9
split-complementary
#B7A6EA #EAD9A6 #B7EAA6
monochromatic
#6743D3 #8F74DE #B7A6EA #DFD8F6 #EBE6F9

Accessibility & contrast

On white

2.17
#B7A6EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#B7A6EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A6EA
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A6EA#FFFFFF#000000##000000
##B7A6EA1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B0ED
Deuteranopia (green-blind)
#98AFE8
Tritanopia (blue-blind)
#ADB1BE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b7a6ea;
/* rgb */ color: rgb(183, 166, 234);
/* oklch */ color: oklch(76.4% 0.097 295.5);
Tailwind
colors: {
  custom: {
    50: '#cdc0f1',
    500: '#b7a6ea',
    950: '#000000',
  },
}
SCSS
$custom: #b7a6ea;
$custom-light: #cdc0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a6ea",
  "rgb": {
    "r": 183,
    "g": 166,
    "b": 234
  },
  "hsl": {
    "h": 255,
    "s": 61.818,
    "l": 78.431
  },
  "oklch": {
    "l": 0.76414,
    "c": 0.09743,
    "h": 295.5
  },
  "luminance": 0.4328
}

Semantic roles & 50–950 ramp

primary
#B7A6EA
secondary
#EBF1DA
accent
#CA1C9E
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B7A6EA

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

Preview Lab → · Contrast checker → · Palette generator →

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