#B8A5DC#B8A5DC

#B8A5DC is a light, moderate violet. Relative luminance 0.423; OKLCH L 75.7% C 0.080 H 300.3°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#B8A5DC
RGBrgb(184, 165, 220)
HSLhsl(261, 44%, 75%)
HSVhsv(261, 25%, 86%)
CMYKcmyk(16.4%, 25%, 0%, 13.7%)
CIE-LABlab(71.06, 17.72, -25.29)
CIE-LCHlch(71.06, 30.88, 305.02°)
OKLaboklab(75.73% 0.0405 -0.0692)
OKLCHoklch(75.73% 0.08 300.3)
XYZxyz(46.1379, 42.2678, 73.4241)
Luminance0.4227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A5DC #C9DCA5
analogous
#A5ADDC #B8A5DC #D3A5DC
triadic
#B8A5DC #DCB8A5 #A5DCB8
tetradic
#B8A5DC #DCA5AD #C9DCA5 #A5DCD3
square
#B8A5DC #DCA5AD #C9DCA5 #A5DCD3
split-complementary
#B8A5DC #DCD3A5 #ADDCA5
monochromatic
#724DBA #9579CB #B8A5DC #DBD1ED #EEE9F6

Accessibility & contrast

On white

2.22
#B8A5DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#B8A5DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A5DC
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A5DC#FFFFFF#000000##000000
##B8A5DC1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AAEDE
Deuteranopia (green-blind)
#9DAEDA
Tritanopia (blue-blind)
#B2ADB8
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b8a5dc;
/* rgb */ color: rgb(184, 165, 220);
/* oklch */ color: oklch(75.7% 0.080 300.3);
Tailwind
colors: {
  custom: {
    50: '#cebfe7',
    500: '#b8a5dc',
    950: '#000000',
  },
}
SCSS
$custom: #b8a5dc;
$custom-light: #cebfe7;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a5dc",
  "rgb": {
    "r": 184,
    "g": 165,
    "b": 220
  },
  "hsl": {
    "h": 260.727,
    "s": 44,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75729,
    "c": 0.08018,
    "h": 300.3
  },
  "luminance": 0.42268
}

Semantic roles & 50–950 ramp

primary
#B8A5DC
secondary
#E8EDDE
accent
#B72E88
background
#FCFBFE
surface
#F9F7FC
border
#D2D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B8A5DC

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

Preview Lab → · Contrast checker → · Palette generator →

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