#B8A3EA#B8A3EA

#B8A3EA is a light, moderate violet. Relative luminance 0.423; OKLCH L 75.9% C 0.102 H 297.5°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#B8A3EA
RGBrgb(184, 163, 234)
HSLhsl(258, 63%, 78%)
HSVhsv(258, 30%, 92%)
CMYKcmyk(21.4%, 30.3%, 0%, 8.2%)
CIE-LABlab(71.09, 21.97, -32.89)
CIE-LCHlch(71.09, 39.55, 303.74°)
OKLaboklab(75.93% 0.0472 -0.0908)
OKLCHoklch(75.93% 0.102 297.5)
XYZxyz(47.7123, 42.3249, 83.4818)
Luminance0.4233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A3EA #D5EAA3
analogous
#A3B2EA #B8A3EA #DBA3EA
triadic
#B8A3EA #EAB8A3 #A3EAB8
tetradic
#B8A3EA #EAA3B2 #D5EAA3 #A3EADB
square
#B8A3EA #EAA3B2 #D5EAA3 #A3EADB
split-complementary
#B8A3EA #EADBA3 #B2EAA3
monochromatic
#6B3FD3 #9271DF #B8A3EA #DED5F5 #ECE6F9

Accessibility & contrast

On white

2.22
#B8A3EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#B8A3EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A3EA
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A3EA#FFFFFF#000000##000000
##B8A3EA1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AEED
Deuteranopia (green-blind)
#96ADE8
Tritanopia (blue-blind)
#AFAEBC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b8a3ea;
/* rgb */ color: rgb(184, 163, 234);
/* oklch */ color: oklch(75.9% 0.102 297.5);
Tailwind
colors: {
  custom: {
    50: '#cebef1',
    500: '#b8a3ea',
    950: '#000000',
  },
}
SCSS
$custom: #b8a3ea;
$custom-light: #cebef1;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a3ea",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 234
  },
  "hsl": {
    "h": 257.746,
    "s": 62.832,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75934,
    "c": 0.10233,
    "h": 297.5
  },
  "luminance": 0.42325
}

Semantic roles & 50–950 ramp

primary
#B8A3EA
secondary
#EAF1DA
accent
#CB1B97
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #B8A3EA

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

Preview Lab → · Contrast checker → · Palette generator →

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