#B8A3EC#B8A3EC

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

Color values

HEX#B8A3EC
RGBrgb(184, 163, 236)
HSLhsl(257, 66%, 78%)
HSVhsv(257, 31%, 93%)
CMYKcmyk(22%, 30.9%, 0%, 7.5%)
CIE-LABlab(71.17, 22.43, -33.86)
CIE-LCHlch(71.17, 40.61, 303.52°)
OKLaboklab(76.02% 0.0478 -0.0935)
OKLCHoklch(76.02% 0.105 297)
XYZxyz(48.0013, 42.4405, 85.0036)
Luminance0.4244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A3EC #D7ECA3
analogous
#A3B2EC #B8A3EC #DCA3EC
triadic
#B8A3EC #ECB8A3 #A3ECB8
tetradic
#B8A3EC #ECA3B2 #D7ECA3 #A3ECDC
square
#B8A3EC #ECA3B2 #D7ECA3 #A3ECDC
split-complementary
#B8A3EC #ECDCA3 #B2ECA3
monochromatic
#6A3ED7 #9170E2 #B8A3EC #DFD6F6 #EBE6FA

Accessibility & contrast

On white

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

On black

9.49
#B8A3EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A3EC
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A3EC#FFFFFF#000000##000000
##B8A3EC1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AFEF
Deuteranopia (green-blind)
#95ADEA
Tritanopia (blue-blind)
#AEAFBD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b8a3ec;
/* rgb */ color: rgb(184, 163, 236);
/* oklch */ color: oklch(76.0% 0.105 297.0);
Tailwind
colors: {
  custom: {
    50: '#cebef2',
    500: '#b8a3ec',
    950: '#000000',
  },
}
SCSS
$custom: #b8a3ec;
$custom-light: #cebef2;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a3ec",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 236
  },
  "hsl": {
    "h": 257.26,
    "s": 65.766,
    "l": 78.235
  },
  "oklch": {
    "l": 0.76021,
    "c": 0.10503,
    "h": 297
  },
  "luminance": 0.42441
}

Semantic roles & 50–950 ramp

primary
#B8A3EC
secondary
#EAF1DA
accent
#CE1899
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #B8A3EC

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

Preview Lab → · Contrast checker → · Palette generator →

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