#B7A7EA#B7A7EA

#B7A7EA is a light, moderate violet. Relative luminance 0.436; OKLCH L 76.6% C 0.096 H 295.0°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#B7A7EA
RGBrgb(183, 167, 234)
HSLhsl(254, 61%, 79%)
HSVhsv(254, 29%, 92%)
CMYKcmyk(21.8%, 28.6%, 0%, 8.2%)
CIE-LABlab(71.99, 19.44, -31.51)
CIE-LCHlch(71.99, 37.03, 301.67°)
OKLaboklab(76.6% 0.0405 -0.0869)
OKLCHoklch(76.6% 0.096 295)
XYZxyz(48.1950, 43.6448, 83.7111)
Luminance0.4365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A7EA #DAEAA7
analogous
#A7B8EA #B7A7EA #D8A7EA
triadic
#B7A7EA #EAB7A7 #A7EAB7
tetradic
#B7A7EA #EAA7B8 #DAEAA7 #A7EAD8
square
#B7A7EA #EAA7B8 #DAEAA7 #A7EAD8
split-complementary
#B7A7EA #EAD8A7 #B8EAA7
monochromatic
#6644D2 #8F76DE #B7A7EA #DFD8F6 #EBE6F9

Accessibility & contrast

On white

2.16
#B7A7EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#B7A7EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A7EA
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A7EA#FFFFFF#000000##000000
##B7A7EA1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B1ED
Deuteranopia (green-blind)
#99B0E8
Tritanopia (blue-blind)
#ADB2BF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b7a7ea;
/* rgb */ color: rgb(183, 167, 234);
/* oklch */ color: oklch(76.6% 0.096 295.0);
Tailwind
colors: {
  custom: {
    50: '#cdc1f1',
    500: '#b7a7ea',
    950: '#000000',
  },
}
SCSS
$custom: #b7a7ea;
$custom-light: #cdc1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a7ea",
  "rgb": {
    "r": 183,
    "g": 167,
    "b": 234
  },
  "hsl": {
    "h": 254.328,
    "s": 61.468,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76603,
    "c": 0.09586,
    "h": 295
  },
  "luminance": 0.43645
}

Semantic roles & 50–950 ramp

primary
#B7A7EA
secondary
#EBF0DB
accent
#C91CA0
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B7A7EA

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

Preview Lab → · Contrast checker → · Palette generator →

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