#B8A5EA#B8A5EA

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

Color values

HEX#B8A5EA
RGBrgb(184, 165, 234)
HSLhsl(257, 62%, 78%)
HSVhsv(257, 29%, 92%)
CMYKcmyk(21.4%, 29.5%, 0%, 8.2%)
CIE-LABlab(71.58, 20.85, -32.13)
CIE-LCHlch(71.58, 38.31, 302.98°)
OKLaboklab(76.31% 0.0444 -0.0886)
OKLCHoklch(76.31% 0.099 296.6)
XYZxyz(48.0702, 43.0408, 83.6011)
Luminance0.4304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A5EA #D7EAA5
analogous
#A5B4EA #B8A5EA #DAA5EA
triadic
#B8A5EA #EAB8A5 #A5EAB8
tetradic
#B8A5EA #EAA5B4 #D7EAA5 #A5EADA
square
#B8A5EA #EAA5B4 #D7EAA5 #A5EADA
split-complementary
#B8A5EA #EADAA5 #B4EAA5
monochromatic
#6A42D3 #9173DE #B8A5EA #DFD7F6 #EBE6F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A5EA#FFFFFF#000000##000000
##B8A5EA1.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)
#95B0ED
Deuteranopia (green-blind)
#98AFE8
Tritanopia (blue-blind)
#AEB0BE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8a5ea;
/* rgb */ color: rgb(184, 165, 234);
/* oklch */ color: oklch(76.3% 0.099 296.6);
Tailwind
colors: {
  custom: {
    50: '#cebff1',
    500: '#b8a5ea',
    950: '#000000',
  },
}
SCSS
$custom: #b8a5ea;
$custom-light: #cebff1;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a5ea",
  "rgb": {
    "r": 184,
    "g": 165,
    "b": 234
  },
  "hsl": {
    "h": 256.522,
    "s": 62.162,
    "l": 78.235
  },
  "oklch": {
    "l": 0.76309,
    "c": 0.09914,
    "h": 296.6
  },
  "luminance": 0.43041
}

Semantic roles & 50–950 ramp

primary
#B8A5EA
secondary
#EAF1DA
accent
#CA1C9A
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #B8A5EA

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

Preview Lab → · Contrast checker → · Palette generator →

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