#B7A2FA#B7A2FA

#B7A2FA is a light, vivid violet. Relative luminance 0.428; OKLCH L 76.4% C 0.125 H 294.2°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#B7A2FA
RGBrgb(183, 162, 250)
HSLhsl(254, 90%, 81%)
HSVhsv(254, 35%, 98%)
CMYKcmyk(26.8%, 35.2%, 0%, 2%)
CIE-LABlab(71.43, 25.98, -41.09)
CIE-LCHlch(71.43, 48.62, 302.31°)
OKLaboklab(76.38% 0.0514 -0.1143)
OKLCHoklch(76.38% 0.125 294.2)
XYZxyz(49.6999, 42.8094, 96.0685)
Luminance0.4281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A2FA #E5FAA2
analogous
#A2B9FA #B7A2FA #E3A2FA
triadic
#B7A2FA #FAB7A2 #A2FAB7
tetradic
#B7A2FA #FAA2B9 #E5FAA2 #A2FAE3
square
#B7A2FA #FAA2B9 #E5FAA2 #A2FAE3
split-complementary
#B7A2FA #FAE3A2 #B9FAA2
monochromatic
#5D2EF4 #8A68F7 #B7A2FA #E4DCFD #E9E2FD

Accessibility & contrast

On white

2.20
#B7A2FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#B7A2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A2FA
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A2FA#FFFFFF#000000##000000
##B7A2FA1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7a2fa;
/* rgb */ color: rgb(183, 162, 250);
/* oklch */ color: oklch(76.4% 0.125 294.2);
Tailwind
colors: {
  custom: {
    50: '#cebdfc',
    500: '#b7a2fa',
    950: '#000000',
  },
}
SCSS
$custom: #b7a2fa;
$custom-light: #cebdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a2fa",
  "rgb": {
    "r": 183,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 254.318,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.76384,
    "c": 0.12533,
    "h": 294.2
  },
  "luminance": 0.4281
}

Semantic roles & 50–950 ramp

primary
#B7A2FA
secondary
#EEF6D5
accent
#E600AF
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B7A2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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