#B2A2FA#B2A2FA

#B2A2FA is a light, vivid violet. Relative luminance 0.422; OKLCH L 76.0% C 0.125 H 291.5°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#B2A2FA
RGBrgb(178, 162, 250)
HSLhsl(251, 90%, 81%)
HSVhsv(251, 35%, 98%)
CMYKcmyk(28.8%, 35.2%, 0%, 2%)
CIE-LABlab(71.01, 24.58, -41.76)
CIE-LCHlch(71.01, 48.46, 300.48°)
OKLaboklab(75.97% 0.0458 -0.1164)
OKLCHoklch(75.97% 0.125 291.5)
XYZxyz(48.5314, 42.2069, 96.0138)
Luminance0.4221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A2FA #EAFAA2
analogous
#A2BEFA #B2A2FA #DEA2FA
triadic
#B2A2FA #FAB2A2 #A2FAB2
tetradic
#B2A2FA #FAA2BE #EAFAA2 #A2FADE
square
#B2A2FA #FAA2BE #EAFAA2 #A2FADE
split-complementary
#B2A2FA #FADEA2 #BEFAA2
monochromatic
#522EF4 #8268F7 #B2A2FA #E2DCFD #E7E2FD

Accessibility & contrast

On white

2.22
#B2A2FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#B2A2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A2FA
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A2FA#FFFFFF#000000##000000
##B2A2FA1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2a2fa;
/* rgb */ color: rgb(178, 162, 250);
/* oklch */ color: oklch(76.0% 0.125 291.5);
Tailwind
colors: {
  custom: {
    50: '#cbbdfc',
    500: '#b2a2fa',
    950: '#000000',
  },
}
SCSS
$custom: #b2a2fa;
$custom-light: #cbbdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a2fa",
  "rgb": {
    "r": 178,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 250.909,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.75969,
    "c": 0.12504,
    "h": 291.5
  },
  "luminance": 0.42208
}

Semantic roles & 50–950 ramp

primary
#B2A2FA
secondary
#F0F6D5
accent
#E600BC
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #B2A2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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