#B8A7FC#B8A7FC

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

Color values

HEX#B8A7FC
RGBrgb(184, 167, 252)
HSLhsl(252, 93%, 82%)
HSVhsv(252, 34%, 99%)
CMYKcmyk(27%, 33.7%, 0%, 1.2%)
CIE-LABlab(72.80, 23.96, -40.03)
CIE-LCHlch(72.80, 46.65, 300.90°)
OKLaboklab(77.48% 0.0462 -0.1112)
OKLCHoklch(77.48% 0.12 292.5)
XYZxyz(51.1523, 44.8553, 98.0395)
Luminance0.4486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A7FC #EBFCA7
analogous
#A7C1FC #B8A7FC #E3A7FC
triadic
#B8A7FC #FCB8A7 #A7FCB8
tetradic
#B8A7FC #FCA7C1 #EBFCA7 #A7FCE3
square
#B8A7FC #FCA7C1 #EBFCA7 #A7FCE3
split-complementary
#B8A7FC #FCE3A7 #C1FCA7
monochromatic
#5931F8 #886CFA #B8A7FC #E7E1FE #E7E1FE

Accessibility & contrast

On white

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

On black

9.97
#B8A7FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A7FC
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A7FC#FFFFFF#000000##000000
##B8A7FC1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B4FF
Deuteranopia (green-blind)
#92B1FA
Tritanopia (blue-blind)
#A9B6C6
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b8a7fc;
/* rgb */ color: rgb(184, 167, 252);
/* oklch */ color: oklch(77.5% 0.120 292.5);
Tailwind
colors: {
  custom: {
    50: '#cfc1fd',
    500: '#b8a7fc',
    950: '#000000',
  },
}
SCSS
$custom: #b8a7fc;
$custom-light: #cfc1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a7fc",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 252
  },
  "hsl": {
    "h": 252,
    "s": 93.407,
    "l": 82.157
  },
  "oklch": {
    "l": 0.7748,
    "c": 0.12045,
    "h": 292.5
  },
  "luminance": 0.44856
}

Semantic roles & 50–950 ramp

primary
#B8A7FC
secondary
#F0F6D5
accent
#E600B8
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B8A7FC

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

Preview Lab → · Contrast checker → · Palette generator →

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