#B8A7FE#B8A7FE

#B8A7FE is a light, vivid violet. Relative luminance 0.450; OKLCH L 77.6% C 0.123 H 292.2°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#B8A7FE
RGBrgb(184, 167, 254)
HSLhsl(252, 98%, 83%)
HSVhsv(252, 34%, 100%)
CMYKcmyk(27.6%, 34.3%, 0%, 0.4%)
CIE-LABlab(72.88, 24.44, -40.98)
CIE-LCHlch(72.88, 47.72, 300.81°)
OKLaboklab(77.57% 0.0466 -0.114)
OKLCHoklch(77.57% 0.123 292.2)
XYZxyz(51.4709, 44.9827, 99.7175)
Luminance0.4498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A7FE #EDFEA7
analogous
#A7C2FE #B8A7FE #E3A7FE
triadic
#B8A7FE #FEB8A7 #A7FEB8
tetradic
#B8A7FE #FEA7C2 #EDFEA7 #A7FEE3
square
#B8A7FE #FEA7C2 #EDFEA7 #A7FEE3
split-complementary
#B8A7FE #FEE3A7 #C2FEA7
monochromatic
#562EFD #876AFD #B8A7FE #E7E1FF #E7E1FF

Accessibility & contrast

On white

2.10
#B8A7FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#B8A7FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A7FE
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A7FE#FFFFFF#000000##000000
##B8A7FE1.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB4FF
Deuteranopia (green-blind)
#91B1FC
Tritanopia (blue-blind)
#A9B6C7
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b8a7fe;
/* rgb */ color: rgb(184, 167, 254);
/* oklch */ color: oklch(77.6% 0.123 292.2);
Tailwind
colors: {
  custom: {
    50: '#cfc1ff',
    500: '#b8a7fe',
    950: '#000000',
  },
}
SCSS
$custom: #b8a7fe;
$custom-light: #cfc1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a7fe",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 254
  },
  "hsl": {
    "h": 251.724,
    "s": 97.753,
    "l": 82.549
  },
  "oklch": {
    "l": 0.77572,
    "c": 0.12316,
    "h": 292.2
  },
  "luminance": 0.44984
}

Semantic roles & 50–950 ramp

primary
#B8A7FE
secondary
#F0F7D4
accent
#E600B9
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141218
muted
#828186

Preview Lab

Preview with #B8A7FE

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

Preview Lab → · Contrast checker → · Palette generator →

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