#B8A4EF#B8A4EF

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

Color values

HEX#B8A4EF
RGBrgb(184, 164, 239)
HSLhsl(256, 70%, 79%)
HSVhsv(256, 31%, 94%)
CMYKcmyk(23%, 31.4%, 0%, 6.3%)
CIE-LABlab(71.54, 22.56, -34.93)
CIE-LCHlch(71.54, 41.59, 302.86°)
OKLaboklab(76.34% 0.0471 -0.0966)
OKLCHoklch(76.34% 0.107 296)
XYZxyz(48.6190, 42.9728, 87.3778)
Luminance0.4297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A4EF #DBEFA4
analogous
#A4B6EF #B8A4EF #DEA4EF
triadic
#B8A4EF #EFB8A4 #A4EFB8
tetradic
#B8A4EF #EFA4B6 #DBEFA4 #A4EFDE
square
#B8A4EF #EFA4B6 #DBEFA4 #A4EFDE
split-complementary
#B8A4EF #EFDEA4 #B6EFA4
monochromatic
#673CDD #8F70E6 #B8A4EF #E1D8F8 #EBE5FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A4EF#FFFFFF#000000##000000
##B8A4EF1.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)
#92B0F2
Deuteranopia (green-blind)
#95AEED
Tritanopia (blue-blind)
#ADB0BF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8a4ef;
/* rgb */ color: rgb(184, 164, 239);
/* oklch */ color: oklch(76.3% 0.107 296.0);
Tailwind
colors: {
  custom: {
    50: '#cebff4',
    500: '#b8a4ef',
    950: '#000000',
  },
}
SCSS
$custom: #b8a4ef;
$custom-light: #cebff4;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a4ef",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 239
  },
  "hsl": {
    "h": 256,
    "s": 70.093,
    "l": 79.02
  },
  "oklch": {
    "l": 0.76339,
    "c": 0.10749,
    "h": 296
  },
  "luminance": 0.42973
}

Semantic roles & 50–950 ramp

primary
#B8A4EF
secondary
#EBF2D9
accent
#D2139F
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #B8A4EF

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

Preview Lab → · Contrast checker → · Palette generator →

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