#B8A8DB#B8A8DB

#B8A8DB is a light, moderate violet. Relative luminance 0.433; OKLCH L 76.3% C 0.074 H 299.0°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#B8A8DB
RGBrgb(184, 168, 219)
HSLhsl(259, 41%, 76%)
HSVhsv(259, 23%, 86%)
CMYKcmyk(16%, 23.3%, 0%, 14.1%)
CIE-LABlab(71.76, 15.83, -23.66)
CIE-LCHlch(71.76, 28.47, 303.80°)
OKLaboklab(76.27% 0.0358 -0.0646)
OKLCHoklch(76.27% 0.074 299)
XYZxyz(46.5533, 43.3099, 72.9112)
Luminance0.4331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A8DB #CBDBA8
analogous
#A8B1DB #B8A8DB #D1A8DB
triadic
#B8A8DB #DBB8A8 #A8DBB8
tetradic
#B8A8DB #DBA8B1 #CBDBA8 #A8DBD1
square
#B8A8DB #DBA8B1 #CBDBA8 #A8DBD1
split-complementary
#B8A8DB #DBD1A8 #B1DBA8
monochromatic
#7151B7 #957DC9 #B8A8DB #DBD3ED #EDE9F6

Accessibility & contrast

On white

2.17
#B8A8DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#B8A8DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A8DB
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A8DB#FFFFFF#000000##000000
##B8A8DB1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB0DD
Deuteranopia (green-blind)
#A0AFD9
Tritanopia (blue-blind)
#B2B0BA
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b8a8db;
/* rgb */ color: rgb(184, 168, 219);
/* oklch */ color: oklch(76.3% 0.074 299.0);
Tailwind
colors: {
  custom: {
    50: '#cdc1e6',
    500: '#b8a8db',
    950: '#000000',
  },
}
SCSS
$custom: #b8a8db;
$custom-light: #cdc1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a8db",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 219
  },
  "hsl": {
    "h": 258.824,
    "s": 41.463,
    "l": 75.882
  },
  "oklch": {
    "l": 0.76265,
    "c": 0.0739,
    "h": 299
  },
  "luminance": 0.4331
}

Semantic roles & 50–950 ramp

primary
#B8A8DB
secondary
#E8EDDE
accent
#B5318B
background
#FCFBFE
surface
#F9F7FC
border
#D2D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B8A8DB

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

Preview Lab → · Contrast checker → · Palette generator →

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