#B8A7DB#B8A7DB

#B8A7DB is a light, moderate violet. Relative luminance 0.429; OKLCH L 76.1% C 0.076 H 299.6°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#B8A7DB
RGBrgb(184, 167, 219)
HSLhsl(260, 42%, 76%)
HSVhsv(260, 24%, 86%)
CMYKcmyk(16%, 23.7%, 0%, 14.1%)
CIE-LABlab(71.52, 16.39, -24.04)
CIE-LCHlch(71.52, 29.09, 304.29°)
OKLaboklab(76.07% 0.0373 -0.0657)
OKLCHoklch(76.07% 0.076 299.6)
XYZxyz(46.3694, 42.9421, 72.8499)
Luminance0.4294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A7DB #CADBA7
analogous
#A7B0DB #B8A7DB #D2A7DB
triadic
#B8A7DB #DBB8A7 #A7DBB8
tetradic
#B8A7DB #DBA7B0 #CADBA7 #A7DBD2
square
#B8A7DB #DBA7B0 #CADBA7 #A7DBD2
split-complementary
#B8A7DB #DBD2A7 #B0DBA7
monochromatic
#7250B7 #957CC9 #B8A7DB #DBD2ED #EDE9F6

Accessibility & contrast

On white

2.19
#B8A7DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#B8A7DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A7DB
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A7DB#FFFFFF#000000##000000
##B8A7DB1.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CAFDD
Deuteranopia (green-blind)
#9FAFD9
Tritanopia (blue-blind)
#B2AFB9
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8a7db;
/* rgb */ color: rgb(184, 167, 219);
/* oklch */ color: oklch(76.1% 0.076 299.6);
Tailwind
colors: {
  custom: {
    50: '#cdc1e6',
    500: '#b8a7db',
    950: '#000000',
  },
}
SCSS
$custom: #b8a7db;
$custom-light: #cdc1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a7db",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 219
  },
  "hsl": {
    "h": 259.615,
    "s": 41.935,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76073,
    "c": 0.07554,
    "h": 299.6
  },
  "luminance": 0.42942
}

Semantic roles & 50–950 ramp

primary
#B8A7DB
secondary
#E8EDDE
accent
#B5308A
background
#FCFBFE
surface
#F9F7FC
border
#D2D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B8A7DB

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

Preview Lab → · Contrast checker → · Palette generator →

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