#B4A2FA#B4A2FA

#B4A2FA is a light, vivid violet. Relative luminance 0.424; OKLCH L 76.1% C 0.125 H 292.6°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#B4A2FA
RGBrgb(180, 162, 250)
HSLhsl(252, 90%, 81%)
HSVhsv(252, 35%, 98%)
CMYKcmyk(28%, 35.2%, 0%, 2%)
CIE-LABlab(71.18, 25.14, -41.50)
CIE-LCHlch(71.18, 48.52, 301.21°)
OKLaboklab(76.13% 0.048 -0.1155)
OKLCHoklch(76.13% 0.125 292.6)
XYZxyz(48.9938, 42.4453, 96.0354)
Luminance0.4245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A2FA #E8FAA2
analogous
#A2BCFA #B4A2FA #E0A2FA
triadic
#B4A2FA #FAB4A2 #A2FAB4
tetradic
#B4A2FA #FAA2BC #E8FAA2 #A2FAE0
square
#B4A2FA #FAA2BC #E8FAA2 #A2FAE0
split-complementary
#B4A2FA #FAE0A2 #BCFAA2
monochromatic
#562EF4 #8568F7 #B4A2FA #E3DCFD #E8E2FD

Accessibility & contrast

On white

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

On black

9.49
#B4A2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A2FA
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A2FA#FFFFFF#000000##000000
##B4A2FA1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4a2fa;
/* rgb */ color: rgb(180, 162, 250);
/* oklch */ color: oklch(76.1% 0.125 292.6);
Tailwind
colors: {
  custom: {
    50: '#ccbdfc',
    500: '#b4a2fa',
    950: '#000000',
  },
}
SCSS
$custom: #b4a2fa;
$custom-light: #ccbdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a2fa",
  "rgb": {
    "r": 180,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 252.273,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.76134,
    "c": 0.12513,
    "h": 292.6
  },
  "luminance": 0.42446
}

Semantic roles & 50–950 ramp

primary
#B4A2FA
secondary
#EFF6D5
accent
#E600B7
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #B4A2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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