#B8A8FD#B8A8FD

#B8A8FD is a light, vivid violet. Relative luminance 0.453; OKLCH L 77.7% C 0.120 H 292.0°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#B8A8FD
RGBrgb(184, 168, 253)
HSLhsl(251, 96%, 83%)
HSVhsv(251, 34%, 99%)
CMYKcmyk(27.3%, 33.6%, 0%, 0.8%)
CIE-LABlab(73.08, 23.64, -40.13)
CIE-LCHlch(73.08, 46.58, 300.51°)
OKLaboklab(77.71% 0.0451 -0.1115)
OKLCHoklch(77.71% 0.12 292)
XYZxyz(51.4950, 45.2866, 98.9376)
Luminance0.4529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A8FD #EDFDA8
analogous
#A8C3FD #B8A8FD #E2A8FD
triadic
#B8A8FD #FDB8A8 #A8FDB8
tetradic
#B8A8FD #FDA8C3 #EDFDA8 #A8FDE2
square
#B8A8FD #FDA8C3 #EDFDA8 #A8FDE2
split-complementary
#B8A8FD #FDE2A8 #C3FDA8
monochromatic
#5630FA #876CFC #B8A8FD #E7E1FE #E7E1FE

Accessibility & contrast

On white

2.09
#B8A8FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#B8A8FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A8FD
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A8FD#FFFFFF#000000##000000
##B8A8FD1.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B5FF
Deuteranopia (green-blind)
#92B2FB
Tritanopia (blue-blind)
#A9B7C7
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b8a8fd;
/* rgb */ color: rgb(184, 168, 253);
/* oklch */ color: oklch(77.7% 0.120 292.0);
Tailwind
colors: {
  custom: {
    50: '#cfc2fe',
    500: '#b8a8fd',
    950: '#000000',
  },
}
SCSS
$custom: #b8a8fd;
$custom-light: #cfc2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a8fd",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 253
  },
  "hsl": {
    "h": 251.294,
    "s": 95.506,
    "l": 82.549
  },
  "oklch": {
    "l": 0.77711,
    "c": 0.12029,
    "h": 292
  },
  "luminance": 0.45287
}

Semantic roles & 50–950 ramp

primary
#B8A8FD
secondary
#F0F7D4
accent
#E600BA
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141218
muted
#828186

Preview Lab

Preview with #B8A8FD

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

Preview Lab → · Contrast checker → · Palette generator →

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