#B8A7DD#B8A7DD

#B8A7DD is a light, moderate violet. Relative luminance 0.430; OKLCH L 76.2% C 0.078 H 299.0°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#B8A7DD
RGBrgb(184, 167, 221)
HSLhsl(259, 44%, 76%)
HSVhsv(259, 24%, 87%)
CMYKcmyk(16.7%, 24.4%, 0%, 13.3%)
CIE-LABlab(71.59, 16.83, -25.02)
CIE-LCHlch(71.59, 30.15, 303.92°)
OKLaboklab(76.15% 0.0379 -0.0685)
OKLCHoklch(76.15% 0.078 299)
XYZxyz(46.6343, 43.0481, 74.2449)
Luminance0.4305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A7DD #CCDDA7
analogous
#A7B1DD #B8A7DD #D3A7DD
triadic
#B8A7DD #DDB8A7 #A7DDB8
tetradic
#B8A7DD #DDA7B1 #CCDDA7 #A7DDD3
square
#B8A7DD #DDA7B1 #CCDDA7 #A7DDD3
split-complementary
#B8A7DD #DDD3A7 #B1DDA7
monochromatic
#714FBB #947BCC #B8A7DD #DCD3EE #EDE9F6

Accessibility & contrast

On white

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

On black

9.61
#B8A7DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A7DD
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A7DD#FFFFFF#000000##000000
##B8A7DD1.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CAFDF
Deuteranopia (green-blind)
#9EAFDB
Tritanopia (blue-blind)
#B2AFBA
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8a7dd;
/* rgb */ color: rgb(184, 167, 221);
/* oklch */ color: oklch(76.2% 0.078 299.0);
Tailwind
colors: {
  custom: {
    50: '#cec1e7',
    500: '#b8a7dd',
    950: '#000000',
  },
}
SCSS
$custom: #b8a7dd;
$custom-light: #cec1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a7dd",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 221
  },
  "hsl": {
    "h": 258.889,
    "s": 44.262,
    "l": 76.078
  },
  "oklch": {
    "l": 0.76152,
    "c": 0.07825,
    "h": 299
  },
  "luminance": 0.43048
}

Semantic roles & 50–950 ramp

primary
#B8A7DD
secondary
#E8EDDE
accent
#B72E8C
background
#FCFBFE
surface
#F9F7FC
border
#D2D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B8A7DD

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

Preview Lab → · Contrast checker → · Palette generator →

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