#B5A2FA#B5A2FA

#B5A2FA is a light, vivid violet. Relative luminance 0.426; OKLCH L 76.2% C 0.125 H 293.1°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#B5A2FA
RGBrgb(181, 162, 250)
HSLhsl(253, 90%, 81%)
HSVhsv(253, 35%, 98%)
CMYKcmyk(27.6%, 35.2%, 0%, 2%)
CIE-LABlab(71.26, 25.42, -41.36)
CIE-LCHlch(71.26, 48.55, 301.57°)
OKLaboklab(76.22% 0.0491 -0.1151)
OKLCHoklch(76.22% 0.125 293.1)
XYZxyz(49.2275, 42.5658, 96.0464)
Luminance0.4257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A2FA #E7FAA2
analogous
#A2BBFA #B5A2FA #E1A2FA
triadic
#B5A2FA #FAB5A2 #A2FAB5
tetradic
#B5A2FA #FAA2BB #E7FAA2 #A2FAE1
square
#B5A2FA #FAA2BB #E7FAA2 #A2FAE1
split-complementary
#B5A2FA #FAE1A2 #BBFAA2
monochromatic
#592EF4 #8768F7 #B5A2FA #E3DCFD #E8E2FD

Accessibility & contrast

On white

2.21
#B5A2FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#B5A2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A2FA
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A2FA#FFFFFF#000000##000000
##B5A2FA1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB0FD
Deuteranopia (green-blind)
#8CADF8
Tritanopia (blue-blind)
#A6B1C2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b5a2fa;
/* rgb */ color: rgb(181, 162, 250);
/* oklch */ color: oklch(76.2% 0.125 293.1);
Tailwind
colors: {
  custom: {
    50: '#cdbdfc',
    500: '#b5a2fa',
    950: '#000000',
  },
}
SCSS
$custom: #b5a2fa;
$custom-light: #cdbdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a2fa",
  "rgb": {
    "r": 181,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 252.955,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.76217,
    "c": 0.12518,
    "h": 293.1
  },
  "luminance": 0.42567
}

Semantic roles & 50–950 ramp

primary
#B5A2FA
secondary
#EFF6D5
accent
#E600B4
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B5A2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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