#B8A7FF#B8A7FF

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

Color values

HEX#B8A7FF
RGBrgb(184, 167, 255)
HSLhsl(252, 100%, 83%)
HSVhsv(252, 35%, 100%)
CMYKcmyk(27.8%, 34.5%, 0%, 0%)
CIE-LABlab(72.92, 24.68, -41.46)
CIE-LCHlch(72.92, 48.25, 300.77°)
OKLaboklab(77.62% 0.0469 -0.1154)
OKLCHoklch(77.62% 0.125 292.1)
XYZxyz(51.6314, 45.0469, 100.5631)
Luminance0.4505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A7FF #EEFFA7
analogous
#A7C2FF #B8A7FF #E4A7FF
triadic
#B8A7FF #FFB8A7 #A7FFB8
tetradic
#B8A7FF #FFA7C2 #EEFFA7 #A7FFE4
square
#B8A7FF #FFA7C2 #EEFFA7 #A7FFE4
split-complementary
#B8A7FF #FFE4A7 #C2FFA7
monochromatic
#552DFF #876AFF #B8A7FF #E6E0FF #E6E0FF

Accessibility & contrast

On white

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

On black

10.01
#B8A7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A7FF
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A7FF#FFFFFF#000000##000000
##B8A7FF1.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB4FF
Deuteranopia (green-blind)
#90B1FD
Tritanopia (blue-blind)
#A8B6C7
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b8a7ff;
/* rgb */ color: rgb(184, 167, 255);
/* oklch */ color: oklch(77.6% 0.125 292.1);
Tailwind
colors: {
  custom: {
    50: '#cfc1ff',
    500: '#b8a7ff',
    950: '#000000',
  },
}
SCSS
$custom: #b8a7ff;
$custom-light: #cfc1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a7ff",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 255
  },
  "hsl": {
    "h": 251.591,
    "s": 100,
    "l": 82.745
  },
  "oklch": {
    "l": 0.77618,
    "c": 0.12451,
    "h": 292.1
  },
  "luminance": 0.45048
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8A7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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