#B8A3F9#B8A3F9

#B8A3F9 is a light, vivid violet. Relative luminance 0.432; OKLCH L 76.6% C 0.123 H 294.5°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#B8A3F9
RGBrgb(184, 163, 249)
HSLhsl(255, 88%, 81%)
HSVhsv(255, 35%, 98%)
CMYKcmyk(26.1%, 34.5%, 0%, 2.4%)
CIE-LABlab(71.71, 25.47, -40.10)
CIE-LCHlch(71.71, 47.51, 302.42°)
OKLaboklab(76.61% 0.0509 -0.1115)
OKLCHoklch(76.61% 0.123 294.5)
XYZxyz(49.9591, 43.2237, 95.3151)
Luminance0.4322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A3F9 #E4F9A3
analogous
#A3B9F9 #B8A3F9 #E3A3F9
triadic
#B8A3F9 #F9B8A3 #A3F9B8
tetradic
#B8A3F9 #F9A3B9 #E4F9A3 #A3F9E3
square
#B8A3F9 #F9A3B9 #E4F9A3 #A3F9E3
split-complementary
#B8A3F9 #F9E3A3 #B9F9A3
monochromatic
#5F30F2 #8C6AF5 #B8A3F9 #E4DCFD #E9E2FD

Accessibility & contrast

On white

2.18
#B8A3F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#B8A3F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A3F9
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A3F9#FFFFFF#000000##000000
##B8A3F91.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8a3f9;
/* rgb */ color: rgb(184, 163, 249);
/* oklch */ color: oklch(76.6% 0.123 294.5);
Tailwind
colors: {
  custom: {
    50: '#cfbefb',
    500: '#b8a3f9',
    950: '#000000',
  },
}
SCSS
$custom: #b8a3f9;
$custom-light: #cfbefb;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a3f9",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 249
  },
  "hsl": {
    "h": 254.651,
    "s": 87.755,
    "l": 80.784
  },
  "oklch": {
    "l": 0.76605,
    "c": 0.12254,
    "h": 294.5
  },
  "luminance": 0.43224
}

Semantic roles & 50–950 ramp

primary
#B8A3F9
secondary
#EEF5D6
accent
#E401AD
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B8A3F9

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

Preview Lab → · Contrast checker → · Palette generator →

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