#B8A3FA#B8A3FA

#B8A3FA is a light, vivid violet. Relative luminance 0.433; OKLCH L 76.7% C 0.124 H 294.4°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#B8A3FA
RGBrgb(184, 163, 250)
HSLhsl(254, 90%, 81%)
HSVhsv(254, 35%, 98%)
CMYKcmyk(26.4%, 34.8%, 0%, 2%)
CIE-LABlab(71.75, 25.71, -40.58)
CIE-LCHlch(71.75, 48.04, 302.36°)
OKLaboklab(76.65% 0.0511 -0.1128)
OKLCHoklch(76.65% 0.124 294.4)
XYZxyz(50.1155, 43.2862, 96.1387)
Luminance0.4329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A3FA #E5FAA3
analogous
#A3B9FA #B8A3FA #E3A3FA
triadic
#B8A3FA #FAB8A3 #A3FAB8
tetradic
#B8A3FA #FAA3B9 #E5FAA3 #A3FAE3
square
#B8A3FA #FAA3B9 #E5FAA3 #A3FAE3
split-complementary
#B8A3FA #FAE3A3 #B9FAA3
monochromatic
#5E2FF4 #8B69F7 #B8A3FA #E5DDFD #E9E2FD

Accessibility & contrast

On white

2.17
#B8A3FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#B8A3FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A3FA
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A3FA#FFFFFF#000000##000000
##B8A3FA1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB1FD
Deuteranopia (green-blind)
#8FAEF8
Tritanopia (blue-blind)
#AAB2C3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b8a3fa;
/* rgb */ color: rgb(184, 163, 250);
/* oklch */ color: oklch(76.7% 0.124 294.4);
Tailwind
colors: {
  custom: {
    50: '#cfbefc',
    500: '#b8a3fa',
    950: '#000000',
  },
}
SCSS
$custom: #b8a3fa;
$custom-light: #cfbefc;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a3fa",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 250
  },
  "hsl": {
    "h": 254.483,
    "s": 89.691,
    "l": 80.98
  },
  "oklch": {
    "l": 0.76651,
    "c": 0.12388,
    "h": 294.4
  },
  "luminance": 0.43287
}

Semantic roles & 50–950 ramp

primary
#B8A3FA
secondary
#EEF6D5
accent
#E600AE
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B8A3FA

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

Preview Lab → · Contrast checker → · Palette generator →

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