#B8A7FD#B8A7FD

#B8A7FD is a light, vivid violet. Relative luminance 0.449; OKLCH L 77.5% C 0.122 H 292.4°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#B8A7FD
RGBrgb(184, 167, 253)
HSLhsl(252, 96%, 82%)
HSVhsv(252, 34%, 99%)
CMYKcmyk(27.3%, 34%, 0%, 0.8%)
CIE-LABlab(72.84, 24.20, -40.51)
CIE-LCHlch(72.84, 47.18, 300.86°)
OKLaboklab(77.53% 0.0464 -0.1126)
OKLCHoklch(77.53% 0.122 292.4)
XYZxyz(51.3111, 44.9188, 98.8763)
Luminance0.4492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A7FD #ECFDA7
analogous
#A7C1FD #B8A7FD #E3A7FD
triadic
#B8A7FD #FDB8A7 #A7FDB8
tetradic
#B8A7FD #FDA7C1 #ECFDA7 #A7FDE3
square
#B8A7FD #FDA7C1 #ECFDA7 #A7FDE3
split-complementary
#B8A7FD #FDE3A7 #C1FDA7
monochromatic
#572FFA #886BFC #B8A7FD #E7E1FE #E7E1FE

Accessibility & contrast

On white

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

On black

9.98
#B8A7FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A7FD
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A7FD#FFFFFF#000000##000000
##B8A7FD1.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B4FF
Deuteranopia (green-blind)
#91B1FB
Tritanopia (blue-blind)
#A9B6C7
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b8a7fd;
/* rgb */ color: rgb(184, 167, 253);
/* oklch */ color: oklch(77.5% 0.122 292.4);
Tailwind
colors: {
  custom: {
    50: '#cfc1fe',
    500: '#b8a7fd',
    950: '#000000',
  },
}
SCSS
$custom: #b8a7fd;
$custom-light: #cfc1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a7fd",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 253
  },
  "hsl": {
    "h": 251.86,
    "s": 95.556,
    "l": 82.353
  },
  "oklch": {
    "l": 0.77526,
    "c": 0.1218,
    "h": 292.4
  },
  "luminance": 0.4492
}

Semantic roles & 50–950 ramp

primary
#B8A7FD
secondary
#F0F7D4
accent
#E600B8
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141218
muted
#828186

Preview Lab

Preview with #B8A7FD

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

Preview Lab → · Contrast checker → · Palette generator →

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