#B5A3FA#B5A3FA

#B5A3FA is a light, vivid violet. Relative luminance 0.429; OKLCH L 76.4% C 0.124 H 292.7°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#B5A3FA
RGBrgb(181, 163, 250)
HSLhsl(252, 90%, 81%)
HSVhsv(252, 35%, 98%)
CMYKcmyk(27.6%, 34.8%, 0%, 2%)
CIE-LABlab(71.50, 24.86, -40.99)
CIE-LCHlch(71.50, 47.94, 301.24°)
OKLaboklab(76.4% 0.0478 -0.114)
OKLCHoklch(76.4% 0.124 292.7)
XYZxyz(49.4043, 42.9195, 96.1054)
Luminance0.4292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A3FA #E8FAA3
analogous
#A3BCFA #B5A3FA #E0A3FA
triadic
#B5A3FA #FAB5A3 #A3FAB5
tetradic
#B5A3FA #FAA3BC #E8FAA3 #A3FAE0
square
#B5A3FA #FAA3BC #E8FAA3 #A3FAE0
split-complementary
#B5A3FA #FAE0A3 #BCFAA3
monochromatic
#582FF4 #8669F7 #B5A3FA #E4DDFD #E8E2FD

Accessibility & contrast

On white

2.19
#B5A3FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#B5A3FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A3FA
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A3FA#FFFFFF#000000##000000
##B5A3FA1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB0FD
Deuteranopia (green-blind)
#8DAEF8
Tritanopia (blue-blind)
#A6B2C3
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b5a3fa;
/* rgb */ color: rgb(181, 163, 250);
/* oklch */ color: oklch(76.4% 0.124 292.7);
Tailwind
colors: {
  custom: {
    50: '#cdbefc',
    500: '#b5a3fa',
    950: '#000000',
  },
}
SCSS
$custom: #b5a3fa;
$custom-light: #cdbefc;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a3fa",
  "rgb": {
    "r": 181,
    "g": 163,
    "b": 250
  },
  "hsl": {
    "h": 252.414,
    "s": 89.691,
    "l": 80.98
  },
  "oklch": {
    "l": 0.76401,
    "c": 0.12365,
    "h": 292.7
  },
  "luminance": 0.4292
}

Semantic roles & 50–950 ramp

primary
#B5A3FA
secondary
#EFF6D5
accent
#E600B6
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B5A3FA

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

Preview Lab → · Contrast checker → · Palette generator →

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