#B8A3FC#B8A3FC

#B8A3FC is a light, vivid violet. Relative luminance 0.434; OKLCH L 76.7% C 0.127 H 294.1°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#B8A3FC
RGBrgb(184, 163, 252)
HSLhsl(254, 94%, 81%)
HSVhsv(254, 35%, 99%)
CMYKcmyk(27%, 35.3%, 0%, 1.2%)
CIE-LABlab(71.83, 26.19, -41.53)
CIE-LCHlch(71.83, 49.10, 302.23°)
OKLaboklab(76.74% 0.0516 -0.1156)
OKLCHoklch(76.74% 0.127 294.1)
XYZxyz(50.4308, 43.4123, 97.7991)
Luminance0.4341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A3FC #E7FCA3
analogous
#A3BBFC #B8A3FC #E5A3FC
triadic
#B8A3FC #FCB8A3 #A3FCB8
tetradic
#B8A3FC #FCA3BB #E7FCA3 #A3FCE5
square
#B8A3FC #FCA3BB #E7FCA3 #A3FCE5
split-complementary
#B8A3FC #FCE5A3 #BBFCA3
monochromatic
#5D2CF8 #8A68FA #B8A3FC #E6DEFE #E8E1FE

Accessibility & contrast

On white

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

On black

9.68
#B8A3FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A3FC
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A3FC#FFFFFF#000000##000000
##B8A3FC1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB1FF
Deuteranopia (green-blind)
#8EAFFA
Tritanopia (blue-blind)
#AAB2C4
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b8a3fc;
/* rgb */ color: rgb(184, 163, 252);
/* oklch */ color: oklch(76.7% 0.127 294.1);
Tailwind
colors: {
  custom: {
    50: '#cfbefd',
    500: '#b8a3fc',
    950: '#000000',
  },
}
SCSS
$custom: #b8a3fc;
$custom-light: #cfbefd;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a3fc",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 252
  },
  "hsl": {
    "h": 254.157,
    "s": 93.684,
    "l": 81.373
  },
  "oklch": {
    "l": 0.76744,
    "c": 0.12656,
    "h": 294.1
  },
  "luminance": 0.43413
}

Semantic roles & 50–950 ramp

primary
#B8A3FC
secondary
#EEF6D5
accent
#E600AF
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B8A3FC

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

Preview Lab → · Contrast checker → · Palette generator →

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