#A7A2FA#A7A2FA

#A7A2FA is a light, vivid blue. Relative luminance 0.410; OKLCH L 75.1% C 0.125 H 285.6°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#A7A2FA
RGBrgb(167, 162, 250)
HSLhsl(243, 90%, 81%)
HSVhsv(243, 35%, 98%)
CMYKcmyk(33.2%, 35.2%, 0%, 2%)
CIE-LABlab(70.15, 21.55, -43.18)
CIE-LCHlch(70.15, 48.26, 296.52°)
OKLaboklab(75.09% 0.0336 -0.1207)
OKLCHoklch(75.09% 0.125 285.6)
XYZxyz(46.1073, 40.9570, 95.9001)
Luminance0.4096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A2FA #F5FAA2
analogous
#A2C9FA #A7A2FA #D3A2FA
triadic
#A7A2FA #FAA7A2 #A2FAA7
tetradic
#A7A2FA #FAA2C9 #F5FAA2 #A2FAD3
square
#A7A2FA #FAA2C9 #F5FAA2 #A2FAD3
split-complementary
#A7A2FA #FAD3A2 #C9FAA2
monochromatic
#392EF4 #7068F7 #A7A2FA #DEDCFD #E4E2FD

Accessibility & contrast

On white

2.28
#A7A2FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#A7A2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A2FA
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A2FA#FFFFFF#000000##000000
##A7A2FA1.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFE
Deuteranopia (green-blind)
#85A9F8
Tritanopia (blue-blind)
#92B2C2
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a7a2fa;
/* rgb */ color: rgb(167, 162, 250);
/* oklch */ color: oklch(75.1% 0.125 285.6);
Tailwind
colors: {
  custom: {
    50: '#c3bdfc',
    500: '#a7a2fa',
    950: '#000000',
  },
}
SCSS
$custom: #a7a2fa;
$custom-light: #c3bdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a2fa",
  "rgb": {
    "r": 167,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 243.409,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.75092,
    "c": 0.12526,
    "h": 285.6
  },
  "luminance": 0.40958
}

Semantic roles & 50–950 ramp

primary
#A7A2FA
secondary
#F4F6D5
accent
#E600D8
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A7A2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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