#A7A1FB#A7A1FB

#A7A1FB is a light, vivid blue. Relative luminance 0.407; OKLCH L 75.0% C 0.128 H 285.9°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#A7A1FB
RGBrgb(167, 161, 251)
HSLhsl(244, 92%, 81%)
HSVhsv(244, 36%, 98%)
CMYKcmyk(33.5%, 35.9%, 0%, 1.6%)
CIE-LABlab(69.94, 22.37, -44.05)
CIE-LCHlch(69.94, 49.40, 296.93°)
OKLaboklab(74.95% 0.0351 -0.1232)
OKLCHoklch(74.95% 0.128 285.9)
XYZxyz(46.0891, 40.6690, 96.6697)
Luminance0.4067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A1FB #F5FBA1
analogous
#A1C8FB #A7A1FB #D4A1FB
triadic
#A7A1FB #FBA7A1 #A1FBA7
tetradic
#A7A1FB #FBA1C8 #F5FBA1 #A1FBD4
square
#A7A1FB #FBA1C8 #F5FBA1 #A1FBD4
split-complementary
#A7A1FB #FBD4A1 #C8FBA1
monochromatic
#392CF6 #7066F9 #A7A1FB #DEDCFD #E4E2FE

Accessibility & contrast

On white

2.30
#A7A1FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#A7A1FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A1FB
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A1FB#FFFFFF#000000##000000
##A7A1FB1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ADFF
Deuteranopia (green-blind)
#83A8F9
Tritanopia (blue-blind)
#92B2C2
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a7a1fb;
/* rgb */ color: rgb(167, 161, 251);
/* oklch */ color: oklch(75.0% 0.128 285.9);
Tailwind
colors: {
  custom: {
    50: '#c3bcfd',
    500: '#a7a1fb',
    950: '#000000',
  },
}
SCSS
$custom: #a7a1fb;
$custom-light: #c3bcfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a1fb",
  "rgb": {
    "r": 167,
    "g": 161,
    "b": 251
  },
  "hsl": {
    "h": 244,
    "s": 91.837,
    "l": 80.784
  },
  "oklch": {
    "l": 0.74951,
    "c": 0.12807,
    "h": 285.9
  },
  "luminance": 0.4067
}

Semantic roles & 50–950 ramp

primary
#A7A1FB
secondary
#F4F6D5
accent
#E600D6
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A7A1FB

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

Preview Lab → · Contrast checker → · Palette generator →

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