#B8A7FA#B8A7FA

#B8A7FA is a light, moderate violet. Relative luminance 0.447; OKLCH L 77.4% C 0.118 H 292.8°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#B8A7FA
RGBrgb(184, 167, 250)
HSLhsl(252, 89%, 82%)
HSVhsv(252, 33%, 98%)
CMYKcmyk(26.4%, 33.2%, 0%, 2%)
CIE-LABlab(72.71, 23.48, -39.08)
CIE-LCHlch(72.71, 45.59, 301.00°)
OKLaboklab(77.39% 0.0457 -0.1085)
OKLCHoklch(77.39% 0.118 292.8)
XYZxyz(50.8370, 44.7292, 96.3792)
Luminance0.4473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A7FA #E9FAA7
analogous
#A7C0FA #B8A7FA #E2A7FA
triadic
#B8A7FA #FAB8A7 #A7FAB8
tetradic
#B8A7FA #FAA7C0 #E9FAA7 #A7FAE2
square
#B8A7FA #FAA7C0 #E9FAA7 #A7FAE2
split-complementary
#B8A7FA #FAE2A7 #C0FAA7
monochromatic
#5B33F3 #896DF7 #B8A7FA #E7E1FD #E8E2FD

Accessibility & contrast

On white

2.11
#B8A7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#B8A7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A7FA
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A7FA#FFFFFF#000000##000000
##B8A7FA1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8a7fa;
/* rgb */ color: rgb(184, 167, 250);
/* oklch */ color: oklch(77.4% 0.118 292.8);
Tailwind
colors: {
  custom: {
    50: '#cfc1fc',
    500: '#b8a7fa',
    950: '#000000',
  },
}
SCSS
$custom: #b8a7fa;
$custom-light: #cfc1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a7fa",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 250
  },
  "hsl": {
    "h": 252.289,
    "s": 89.247,
    "l": 81.765
  },
  "oklch": {
    "l": 0.77389,
    "c": 0.11774,
    "h": 292.8
  },
  "luminance": 0.4473
}

Semantic roles & 50–950 ramp

primary
#B8A7FA
secondary
#EFF5D6
accent
#E600B6
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B8A7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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