#B8A7FB#B8A7FB

#B8A7FB is a light, moderate violet. Relative luminance 0.448; OKLCH L 77.4% C 0.119 H 292.7°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#B8A7FB
RGBrgb(184, 167, 251)
HSLhsl(252, 91%, 82%)
HSVhsv(252, 33%, 98%)
CMYKcmyk(26.7%, 33.5%, 0%, 1.6%)
CIE-LABlab(72.75, 23.72, -39.55)
CIE-LCHlch(72.75, 46.12, 300.95°)
OKLaboklab(77.44% 0.0459 -0.1099)
OKLCHoklch(77.44% 0.119 292.7)
XYZxyz(50.9942, 44.7921, 97.2072)
Luminance0.4479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A7FB #EAFBA7
analogous
#A7C0FB #B8A7FB #E2A7FB
triadic
#B8A7FB #FBB8A7 #A7FBB8
tetradic
#B8A7FB #FBA7C0 #EAFBA7 #A7FBE2
square
#B8A7FB #FBA7C0 #EAFBA7 #A7FBE2
split-complementary
#B8A7FB #FBE2A7 #C0FBA7
monochromatic
#5A32F6 #896CF8 #B8A7FB #E7E2FE #E7E2FE

Accessibility & contrast

On white

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

On black

9.96
#B8A7FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A7FB
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A7FB#FFFFFF#000000##000000
##B8A7FB1.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B4FE
Deuteranopia (green-blind)
#92B1F9
Tritanopia (blue-blind)
#AAB5C6
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b8a7fb;
/* rgb */ color: rgb(184, 167, 251);
/* oklch */ color: oklch(77.4% 0.119 292.7);
Tailwind
colors: {
  custom: {
    50: '#cfc1fd',
    500: '#b8a7fb',
    950: '#000000',
  },
}
SCSS
$custom: #b8a7fb;
$custom-light: #cfc1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a7fb",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 251
  },
  "hsl": {
    "h": 252.143,
    "s": 91.304,
    "l": 81.961
  },
  "oklch": {
    "l": 0.77435,
    "c": 0.1191,
    "h": 292.7
  },
  "luminance": 0.44793
}

Semantic roles & 50–950 ramp

primary
#B8A7FB
secondary
#EFF6D5
accent
#E600B7
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B8A7FB

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

Preview Lab → · Contrast checker → · Palette generator →

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