#B8A5EE#B8A5EE

#B8A5EE is a light, moderate violet. Relative luminance 0.433; OKLCH L 76.5% C 0.105 H 295.8°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#B8A5EE
RGBrgb(184, 165, 238)
HSLhsl(256, 68%, 79%)
HSVhsv(256, 31%, 93%)
CMYKcmyk(22.7%, 30.7%, 0%, 6.7%)
CIE-LABlab(71.74, 21.78, -34.07)
CIE-LCHlch(71.74, 40.44, 302.58°)
OKLaboklab(76.48% 0.0455 -0.0941)
OKLCHoklch(76.48% 0.105 295.8)
XYZxyz(48.6514, 43.2732, 86.6618)
Luminance0.4327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A5EE #DBEEA5
analogous
#A5B7EE #B8A5EE #DDA5EE
triadic
#B8A5EE #EEB8A5 #A5EEB8
tetradic
#B8A5EE #EEA5B7 #DBEEA5 #A5EEDD
square
#B8A5EE #EEA5B7 #DBEEA5 #A5EEDD
split-complementary
#B8A5EE #EEDDA5 #B7EEA5
monochromatic
#673EDB #8F72E4 #B8A5EE #E1D8F8 #EBE5FA

Accessibility & contrast

On white

2.18
#B8A5EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#B8A5EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A5EE
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A5EE#FFFFFF#000000##000000
##B8A5EE1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B0F1
Deuteranopia (green-blind)
#96AFEC
Tritanopia (blue-blind)
#ADB1BF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b8a5ee;
/* rgb */ color: rgb(184, 165, 238);
/* oklch */ color: oklch(76.5% 0.105 295.8);
Tailwind
colors: {
  custom: {
    50: '#cebff3',
    500: '#b8a5ee',
    950: '#000000',
  },
}
SCSS
$custom: #b8a5ee;
$custom-light: #cebff3;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a5ee",
  "rgb": {
    "r": 184,
    "g": 165,
    "b": 238
  },
  "hsl": {
    "h": 255.616,
    "s": 68.224,
    "l": 79.02
  },
  "oklch": {
    "l": 0.76482,
    "c": 0.10456,
    "h": 295.8
  },
  "luminance": 0.43274
}

Semantic roles & 50–950 ramp

primary
#B8A5EE
secondary
#EBF2D9
accent
#D015A0
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #B8A5EE

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

Preview Lab → · Contrast checker → · Palette generator →

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