#A7BAFA#A7BAFA

#A7BAFA is a light, moderate blue. Relative luminance 0.502; OKLCH L 79.8% C 0.094 H 271.4°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#A7BAFA
RGBrgb(167, 186, 250)
HSLhsl(226, 89%, 82%)
HSVhsv(226, 33%, 98%)
CMYKcmyk(33.2%, 25.6%, 0%, 2%)
CIE-LABlab(76.21, 8.16, -33.75)
CIE-LCHlch(76.21, 34.72, 283.59°)
OKLaboklab(79.78% 0.0023 -0.0936)
OKLCHoklch(79.78% 0.094 271.4)
XYZxyz(50.7456, 50.2335, 97.4462)
Luminance0.5023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BAFA #FAE7A7
analogous
#A7E4FA #A7BAFA #BEA7FA
triadic
#A7BAFA #FAA7BA #BAFAA7
tetradic
#A7BAFA #FAA7E4 #FAE7A7 #A7FABE
square
#A7BAFA #FAA7E4 #FAE7A7 #A7FABE
split-complementary
#A7BAFA #FABEA7 #E4FAA7
monochromatic
#335FF3 #6D8DF7 #A7BAFA #E1E7FD #E2E8FD

Accessibility & contrast

On white

1.90
#A7BAFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#A7BAFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BAFA
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BAFA#FFFFFF#000000##000000
##A7BAFA1.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6C0FD
Deuteranopia (green-blind)
#9FB9F8
Tritanopia (blue-blind)
#8FC6D0
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #a7bafa;
/* rgb */ color: rgb(167, 186, 250);
/* oklch */ color: oklch(79.8% 0.094 271.4);
Tailwind
colors: {
  custom: {
    50: '#c3cefc',
    500: '#a7bafa',
    950: '#000000',
  },
}
SCSS
$custom: #a7bafa;
$custom-light: #c3cefc;
$custom-dark: #000000;
JSON
{
  "hex": "#a7bafa",
  "rgb": {
    "r": 167,
    "g": 186,
    "b": 250
  },
  "hsl": {
    "h": 226.265,
    "s": 89.247,
    "l": 81.765
  },
  "oklch": {
    "l": 0.79779,
    "c": 0.0936,
    "h": 271.4
  },
  "luminance": 0.50235
}

Semantic roles & 50–950 ramp

primary
#A7BAFA
secondary
#DCC269
accent
#B100E6
background
#FDFEFF
surface
#F9FAFF
border
#D2D3D7
text
#131317
muted
#828385

Preview Lab

Preview with #A7BAFA

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

Preview Lab → · Contrast checker → · Palette generator →

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