#B8A3EE#B8A3EE

#B8A3EE is a light, moderate violet. Relative luminance 0.426; OKLCH L 76.1% C 0.108 H 296.6°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#B8A3EE
RGBrgb(184, 163, 238)
HSLhsl(257, 69%, 79%)
HSVhsv(257, 32%, 93%)
CMYKcmyk(22.7%, 31.5%, 0%, 6.7%)
CIE-LABlab(71.25, 22.89, -34.82)
CIE-LCHlch(71.25, 41.67, 303.32°)
OKLaboklab(76.11% 0.0483 -0.0963)
OKLCHoklch(76.11% 0.108 296.6)
XYZxyz(48.2935, 42.5574, 86.5424)
Luminance0.4256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A3EE #D9EEA3
analogous
#A3B3EE #B8A3EE #DDA3EE
triadic
#B8A3EE #EEB8A3 #A3EEB8
tetradic
#B8A3EE #EEA3B3 #D9EEA3 #A3EEDD
square
#B8A3EE #EEA3B3 #D9EEA3 #A3EEDD
split-complementary
#B8A3EE #EEDDA3 #B3EEA3
monochromatic
#683CDB #906FE4 #B8A3EE #E0D7F8 #EBE5FA

Accessibility & contrast

On white

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

On black

9.51
#B8A3EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A3EE
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A3EE#FFFFFF#000000##000000
##B8A3EE1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AFF1
Deuteranopia (green-blind)
#94AEEC
Tritanopia (blue-blind)
#AEAFBE
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b8a3ee;
/* rgb */ color: rgb(184, 163, 238);
/* oklch */ color: oklch(76.1% 0.108 296.6);
Tailwind
colors: {
  custom: {
    50: '#cebef3',
    500: '#b8a3ee',
    950: '#000000',
  },
}
SCSS
$custom: #b8a3ee;
$custom-light: #cebef3;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a3ee",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 238
  },
  "hsl": {
    "h": 256.8,
    "s": 68.807,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76109,
    "c": 0.10772,
    "h": 296.6
  },
  "luminance": 0.42558
}

Semantic roles & 50–950 ramp

primary
#B8A3EE
secondary
#EBF2D9
accent
#D1159C
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #B8A3EE

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

Preview Lab → · Contrast checker → · Palette generator →

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