#B8A3EB#B8A3EB

#B8A3EB is a light, moderate violet. Relative luminance 0.424; OKLCH L 76.0% C 0.104 H 297.3°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#B8A3EB
RGBrgb(184, 163, 235)
HSLhsl(258, 64%, 78%)
HSVhsv(258, 31%, 92%)
CMYKcmyk(21.7%, 30.6%, 0%, 7.8%)
CIE-LABlab(71.13, 22.20, -33.37)
CIE-LCHlch(71.13, 40.08, 303.63°)
OKLaboklab(75.98% 0.0475 -0.0921)
OKLCHoklch(75.98% 0.104 297.3)
XYZxyz(47.8564, 42.3826, 84.2406)
Luminance0.4238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A3EB #D6EBA3
analogous
#A3B2EB #B8A3EB #DCA3EB
triadic
#B8A3EB #EBB8A3 #A3EBB8
tetradic
#B8A3EB #EBA3B2 #D6EBA3 #A3EBDC
square
#B8A3EB #EBA3B2 #D6EBA3 #A3EBDC
split-complementary
#B8A3EB #EBDCA3 #B2EBA3
monochromatic
#6A3ED5 #9171E0 #B8A3EB #DFD5F6 #ECE6FA

Accessibility & contrast

On white

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

On black

9.48
#B8A3EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A3EB
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A3EB#FFFFFF#000000##000000
##B8A3EB1.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AEEE
Deuteranopia (green-blind)
#95ADE9
Tritanopia (blue-blind)
#AEAEBD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b8a3eb;
/* rgb */ color: rgb(184, 163, 235);
/* oklch */ color: oklch(76.0% 0.104 297.3);
Tailwind
colors: {
  custom: {
    50: '#cebef1',
    500: '#b8a3eb',
    950: '#000000',
  },
}
SCSS
$custom: #b8a3eb;
$custom-light: #cebef1;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a3eb",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 235
  },
  "hsl": {
    "h": 257.5,
    "s": 64.286,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75978,
    "c": 0.10367,
    "h": 297.3
  },
  "luminance": 0.42383
}

Semantic roles & 50–950 ramp

primary
#B8A3EB
secondary
#EAF1DA
accent
#CC1998
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #B8A3EB

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

Preview Lab → · Contrast checker → · Palette generator →

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