#B8A2FA#B8A2FA

#B8A2FA is a light, vivid violet. Relative luminance 0.429; OKLCH L 76.5% C 0.125 H 294.7°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#B8A2FA
RGBrgb(184, 162, 250)
HSLhsl(255, 90%, 81%)
HSVhsv(255, 35%, 98%)
CMYKcmyk(26.4%, 35.2%, 0%, 2%)
CIE-LABlab(71.51, 26.27, -40.95)
CIE-LCHlch(71.51, 48.65, 302.68°)
OKLaboklab(76.47% 0.0525 -0.1139)
OKLCHoklch(76.47% 0.125 294.7)
XYZxyz(49.9387, 42.9325, 96.0797)
Luminance0.4293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A2FA #E4FAA2
analogous
#A2B8FA #B8A2FA #E4A2FA
triadic
#B8A2FA #FAB8A2 #A2FAB8
tetradic
#B8A2FA #FAA2B8 #E4FAA2 #A2FAE4
square
#B8A2FA #FAA2B8 #E4FAA2 #A2FAE4
split-complementary
#B8A2FA #FAE4A2 #B8FAA2
monochromatic
#5F2EF4 #8C68F7 #B8A2FA #E4DCFD #E9E2FD

Accessibility & contrast

On white

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

On black

9.59
#B8A2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A2FA
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A2FA#FFFFFF#000000##000000
##B8A2FA1.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8a2fa;
/* rgb */ color: rgb(184, 162, 250);
/* oklch */ color: oklch(76.5% 0.125 294.7);
Tailwind
colors: {
  custom: {
    50: '#cfbdfc',
    500: '#b8a2fa',
    950: '#000000',
  },
}
SCSS
$custom: #b8a2fa;
$custom-light: #cfbdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a2fa",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 255,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.76468,
    "c": 0.12542,
    "h": 294.7
  },
  "luminance": 0.42933
}

Semantic roles & 50–950 ramp

primary
#B8A2FA
secondary
#EEF6D5
accent
#E600AC
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B8A2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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