#B8A3FB#B8A3FB

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

Color values

HEX#B8A3FB
RGBrgb(184, 163, 251)
HSLhsl(254, 92%, 81%)
HSVhsv(254, 35%, 98%)
CMYKcmyk(26.7%, 35.1%, 0%, 1.6%)
CIE-LABlab(71.79, 25.95, -41.06)
CIE-LCHlch(71.79, 48.57, 302.29°)
OKLaboklab(76.7% 0.0514 -0.1142)
OKLCHoklch(76.7% 0.125 294.2)
XYZxyz(50.2727, 43.3491, 96.9667)
Luminance0.4335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A3FB #E6FBA3
analogous
#A3BAFB #B8A3FB #E4A3FB
triadic
#B8A3FB #FBB8A3 #A3FBB8
tetradic
#B8A3FB #FBA3BA #E6FBA3 #A3FBE4
square
#B8A3FB #FBA3BA #E6FBA3 #A3FBE4
split-complementary
#B8A3FB #FBE4A3 #BAFBA3
monochromatic
#5D2EF6 #8B68F8 #B8A3FB #E5DEFE #E8E2FE

Accessibility & contrast

On white

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

On black

9.67
#B8A3FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A3FB
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A3FB#FFFFFF#000000##000000
##B8A3FB1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8a3fb;
/* rgb */ color: rgb(184, 163, 251);
/* oklch */ color: oklch(76.7% 0.125 294.2);
Tailwind
colors: {
  custom: {
    50: '#cfbefd',
    500: '#b8a3fb',
    950: '#000000',
  },
}
SCSS
$custom: #b8a3fb;
$custom-light: #cfbefd;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a3fb",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 251
  },
  "hsl": {
    "h": 254.318,
    "s": 91.667,
    "l": 81.176
  },
  "oklch": {
    "l": 0.76697,
    "c": 0.12522,
    "h": 294.2
  },
  "luminance": 0.4335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8A3FB

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

Preview Lab → · Contrast checker → · Palette generator →

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