#B8A3EF#B8A3EF

#B8A3EF is a light, moderate violet. Relative luminance 0.426; OKLCH L 76.2% C 0.109 H 296.4°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#B8A3EF
RGBrgb(184, 163, 239)
HSLhsl(257, 70%, 79%)
HSVhsv(257, 32%, 94%)
CMYKcmyk(23%, 31.8%, 0%, 6.3%)
CIE-LABlab(71.29, 23.12, -35.31)
CIE-LCHlch(71.29, 42.20, 303.22°)
OKLaboklab(76.15% 0.0485 -0.0977)
OKLCHoklch(76.15% 0.109 296.4)
XYZxyz(48.4408, 42.6163, 87.3183)
Luminance0.4262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A3EF #DAEFA3
analogous
#A3B4EF #B8A3EF #DEA3EF
triadic
#B8A3EF #EFB8A3 #A3EFB8
tetradic
#B8A3EF #EFA3B4 #DAEFA3 #A3EFDE
square
#B8A3EF #EFA3B4 #DAEFA3 #A3EFDE
split-complementary
#B8A3EF #EFDEA3 #B4EFA3
monochromatic
#683BDD #906FE6 #B8A3EF #E0D7F8 #EBE5FA

Accessibility & contrast

On white

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

On black

9.52
#B8A3EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A3EF
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A3EF#FFFFFF#000000##000000
##B8A3EF1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AFF2
Deuteranopia (green-blind)
#94AEED
Tritanopia (blue-blind)
#ADAFBE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8a3ef;
/* rgb */ color: rgb(184, 163, 239);
/* oklch */ color: oklch(76.2% 0.109 296.4);
Tailwind
colors: {
  custom: {
    50: '#cebef4',
    500: '#b8a3ef',
    950: '#000000',
  },
}
SCSS
$custom: #b8a3ef;
$custom-light: #cebef4;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a3ef",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 239
  },
  "hsl": {
    "h": 256.579,
    "s": 70.37,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76153,
    "c": 0.10907,
    "h": 296.4
  },
  "luminance": 0.42617
}

Semantic roles & 50–950 ramp

primary
#B8A3EF
secondary
#EBF2D9
accent
#D2139E
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #B8A3EF

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

Preview Lab → · Contrast checker → · Palette generator →

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