#B8A8FA#B8A8FA

#B8A8FA is a light, moderate violet. Relative luminance 0.451; OKLCH L 77.6% C 0.116 H 292.4°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#B8A8FA
RGBrgb(184, 168, 250)
HSLhsl(252, 89%, 82%)
HSVhsv(252, 33%, 98%)
CMYKcmyk(26.4%, 32.8%, 0%, 2%)
CIE-LABlab(72.96, 22.93, -38.70)
CIE-LCHlch(72.96, 44.98, 300.64°)
OKLaboklab(77.58% 0.0443 -0.1074)
OKLCHoklch(77.58% 0.116 292.4)
XYZxyz(51.0209, 45.0970, 96.4405)
Luminance0.4510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A8FA #EAFAA8
analogous
#A8C1FA #B8A8FA #E1A8FA
triadic
#B8A8FA #FAB8A8 #A8FAB8
tetradic
#B8A8FA #FAA8C1 #EAFAA8 #A8FAE1
square
#B8A8FA #FAA8C1 #EAFAA8 #A8FAE1
split-complementary
#B8A8FA #FAE1A8 #C1FAA8
monochromatic
#5A34F3 #896EF7 #B8A8FA #E7E2FD #E7E2FD

Accessibility & contrast

On white

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

On black

10.02
#B8A8FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A8FA
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A8FA#FFFFFF#000000##000000
##B8A8FA1.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B4FD
Deuteranopia (green-blind)
#94B2F8
Tritanopia (blue-blind)
#AAB6C6
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b8a8fa;
/* rgb */ color: rgb(184, 168, 250);
/* oklch */ color: oklch(77.6% 0.116 292.4);
Tailwind
colors: {
  custom: {
    50: '#cfc2fc',
    500: '#b8a8fa',
    950: '#000000',
  },
}
SCSS
$custom: #b8a8fa;
$custom-light: #cfc2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a8fa",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 250
  },
  "hsl": {
    "h": 251.707,
    "s": 89.13,
    "l": 81.961
  },
  "oklch": {
    "l": 0.77575,
    "c": 0.11622,
    "h": 292.4
  },
  "luminance": 0.45098
}

Semantic roles & 50–950 ramp

primary
#B8A8FA
secondary
#EFF5D6
accent
#E600B9
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B8A8FA

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

Preview Lab → · Contrast checker → · Palette generator →

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