#B7A7FA#B7A7FA

#B7A7FA is a light, moderate violet. Relative luminance 0.446; OKLCH L 77.3% C 0.118 H 292.3°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#B7A7FA
RGBrgb(183, 167, 250)
HSLhsl(252, 89%, 82%)
HSVhsv(252, 33%, 98%)
CMYKcmyk(26.8%, 33.2%, 0%, 2%)
CIE-LABlab(72.63, 23.20, -39.21)
CIE-LCHlch(72.63, 45.56, 300.61°)
OKLaboklab(77.31% 0.0446 -0.1089)
OKLCHoklch(77.31% 0.118 292.3)
XYZxyz(50.5982, 44.6061, 96.3680)
Luminance0.4461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A7FA #EAFAA7
analogous
#A7C1FA #B7A7FA #E1A7FA
triadic
#B7A7FA #FAB7A7 #A7FAB7
tetradic
#B7A7FA #FAA7C1 #EAFAA7 #A7FAE1
square
#B7A7FA #FAA7C1 #EAFAA7 #A7FAE1
split-complementary
#B7A7FA #FAE1A7 #C1FAA7
monochromatic
#5833F3 #886DF7 #B7A7FA #E6E1FD #E7E2FD

Accessibility & contrast

On white

2.12
#B7A7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#B7A7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A7FA
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A7FA#FFFFFF#000000##000000
##B7A7FA1.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B3FD
Deuteranopia (green-blind)
#92B1F8
Tritanopia (blue-blind)
#A8B5C5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b7a7fa;
/* rgb */ color: rgb(183, 167, 250);
/* oklch */ color: oklch(77.3% 0.118 292.3);
Tailwind
colors: {
  custom: {
    50: '#cec1fc',
    500: '#b7a7fa',
    950: '#000000',
  },
}
SCSS
$custom: #b7a7fa;
$custom-light: #cec1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a7fa",
  "rgb": {
    "r": 183,
    "g": 167,
    "b": 250
  },
  "hsl": {
    "h": 251.566,
    "s": 89.247,
    "l": 81.765
  },
  "oklch": {
    "l": 0.77307,
    "c": 0.11768,
    "h": 292.3
  },
  "luminance": 0.44607
}

Semantic roles & 50–950 ramp

primary
#B7A7FA
secondary
#EFF5D6
accent
#E600B9
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B7A7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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