#B8A8FB#B8A8FB

#B8A8FB is a light, moderate violet. Relative luminance 0.452; OKLCH L 77.6% C 0.118 H 292.3°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#B8A8FB
RGBrgb(184, 168, 251)
HSLhsl(252, 91%, 82%)
HSVhsv(252, 33%, 98%)
CMYKcmyk(26.7%, 33.1%, 0%, 1.6%)
CIE-LABlab(73.00, 23.16, -39.18)
CIE-LCHlch(73.00, 45.51, 300.60°)
OKLaboklab(77.62% 0.0446 -0.1088)
OKLCHoklch(77.62% 0.118 292.3)
XYZxyz(51.1781, 45.1599, 97.2685)
Luminance0.4516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A8FB #EBFBA8
analogous
#A8C2FB #B8A8FB #E1A8FB
triadic
#B8A8FB #FBB8A8 #A8FBB8
tetradic
#B8A8FB #FBA8C2 #EBFBA8 #A8FBE1
square
#B8A8FB #FBA8C2 #EBFBA8 #A8FBE1
split-complementary
#B8A8FB #FBE1A8 #C2FBA8
monochromatic
#5933F6 #886DF8 #B8A8FB #E7E2FE #E7E2FE

Accessibility & contrast

On white

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

On black

10.03
#B8A8FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A8FB
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A8FB#FFFFFF#000000##000000
##B8A8FB1.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B4FE
Deuteranopia (green-blind)
#93B2F9
Tritanopia (blue-blind)
#A9B6C6
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b8a8fb;
/* rgb */ color: rgb(184, 168, 251);
/* oklch */ color: oklch(77.6% 0.118 292.3);
Tailwind
colors: {
  custom: {
    50: '#cfc2fd',
    500: '#b8a8fb',
    950: '#000000',
  },
}
SCSS
$custom: #b8a8fb;
$custom-light: #cfc2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a8fb",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 251
  },
  "hsl": {
    "h": 251.566,
    "s": 91.209,
    "l": 82.157
  },
  "oklch": {
    "l": 0.7762,
    "c": 0.11758,
    "h": 292.3
  },
  "luminance": 0.45161
}

Semantic roles & 50–950 ramp

primary
#B8A8FB
secondary
#F0F6D5
accent
#E600B9
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B8A8FB

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

Preview Lab → · Contrast checker → · Palette generator →

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