#B8A4E7#B8A4E7

#B8A4E7 is a light, moderate violet. Relative luminance 0.425; OKLCH L 76.0% C 0.097 H 297.8°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#B8A4E7
RGBrgb(184, 164, 231)
HSLhsl(258, 58%, 77%)
HSVhsv(258, 29%, 91%)
CMYKcmyk(20.3%, 29%, 0%, 9.4%)
CIE-LABlab(71.22, 20.73, -31.05)
CIE-LCHlch(71.22, 37.34, 303.72°)
OKLaboklab(75.99% 0.045 -0.0855)
OKLCHoklch(75.99% 0.097 297.8)
XYZxyz(47.4632, 42.5105, 81.2906)
Luminance0.4251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A4E7 #D3E7A4
analogous
#A4B2E7 #B8A4E7 #D9A4E7
triadic
#B8A4E7 #E7B8A4 #A4E7B8
tetradic
#B8A4E7 #E7A4B2 #D3E7A4 #A4E7D9
square
#B8A4E7 #E7A4B2 #D3E7A4 #A4E7D9
split-complementary
#B8A4E7 #E7D9A4 #B2E7A4
monochromatic
#6C43CD #9274DA #B8A4E7 #DED4F4 #ECE7F9

Accessibility & contrast

On white

2.21
#B8A4E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#B8A4E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A4E7
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A4E7#FFFFFF#000000##000000
##B8A4E71.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#95AFEA
Deuteranopia (green-blind)
#98AEE5
Tritanopia (blue-blind)
#AFAEBC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b8a4e7;
/* rgb */ color: rgb(184, 164, 231);
/* oklch */ color: oklch(76.0% 0.097 297.8);
Tailwind
colors: {
  custom: {
    50: '#cebfee',
    500: '#b8a4e7',
    950: '#000000',
  },
}
SCSS
$custom: #b8a4e7;
$custom-light: #cebfee;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a4e7",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 231
  },
  "hsl": {
    "h": 257.91,
    "s": 58.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75994,
    "c": 0.09667,
    "h": 297.8
  },
  "luminance": 0.42511
}

Semantic roles & 50–950 ramp

primary
#B8A4E7
secondary
#EAF0DB
accent
#C62094
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #B8A4E7

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

Preview Lab → · Contrast checker → · Palette generator →

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