#B8A4EB#B8A4EB

#B8A4EB is a light, moderate violet. Relative luminance 0.427; OKLCH L 76.2% C 0.102 H 296.8°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#B8A4EB
RGBrgb(184, 164, 235)
HSLhsl(257, 64%, 78%)
HSVhsv(257, 30%, 92%)
CMYKcmyk(21.7%, 30.2%, 0%, 7.8%)
CIE-LABlab(71.38, 21.64, -33.00)
CIE-LCHlch(71.38, 39.46, 303.26°)
OKLaboklab(76.17% 0.0461 -0.0911)
OKLCHoklch(76.17% 0.102 296.8)
XYZxyz(48.0346, 42.7391, 84.3000)
Luminance0.4274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A4EB #D7EBA4
analogous
#A4B3EB #B8A4EB #DBA4EB
triadic
#B8A4EB #EBB8A4 #A4EBB8
tetradic
#B8A4EB #EBA4B3 #D7EBA4 #A4EBDB
square
#B8A4EB #EBA4B3 #D7EBA4 #A4EBDB
split-complementary
#B8A4EB #EBDBA4 #B3EBA4
monochromatic
#6A40D5 #9172E0 #B8A4EB #DFD6F6 #EBE6F9

Accessibility & contrast

On white

2.20
#B8A4EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#B8A4EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A4EB
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A4EB#FFFFFF#000000##000000
##B8A4EB1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AFEE
Deuteranopia (green-blind)
#96AEE9
Tritanopia (blue-blind)
#AEAFBD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8a4eb;
/* rgb */ color: rgb(184, 164, 235);
/* oklch */ color: oklch(76.2% 0.102 296.8);
Tailwind
colors: {
  custom: {
    50: '#cebff1',
    500: '#b8a4eb',
    950: '#000000',
  },
}
SCSS
$custom: #b8a4eb;
$custom-light: #cebff1;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a4eb",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 235
  },
  "hsl": {
    "h": 256.901,
    "s": 63.964,
    "l": 78.235
  },
  "oklch": {
    "l": 0.76165,
    "c": 0.10208,
    "h": 296.8
  },
  "luminance": 0.42739
}

Semantic roles & 50–950 ramp

primary
#B8A4EB
secondary
#EAF1DA
accent
#CC1A9A
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #B8A4EB

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

Preview Lab → · Contrast checker → · Palette generator →

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