#A2A7FA#A2A7FA

#A2A7FA is a light, moderate blue. Relative luminance 0.422; OKLCH L 75.7% C 0.119 H 280.5°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#A2A7FA
RGBrgb(162, 167, 250)
HSLhsl(237, 90%, 81%)
HSVhsv(237, 35%, 98%)
CMYKcmyk(35.2%, 33.2%, 0%, 2%)
CIE-LABlab(71.02, 17.38, -41.84)
CIE-LCHlch(71.02, 45.31, 292.56°)
OKLaboklab(75.67% 0.0217 -0.1169)
OKLCHoklch(75.67% 0.119 280.5)
XYZxyz(45.9695, 42.2193, 96.1510)
Luminance0.4222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A7FA #FAF5A2
analogous
#A2D3FA #A2A7FA #C9A2FA
triadic
#A2A7FA #FAA2A7 #A7FAA2
tetradic
#A2A7FA #FAA2D3 #FAF5A2 #A2FAC9
square
#A2A7FA #FAA2D3 #FAF5A2 #A2FAC9
split-complementary
#A2A7FA #FAC9A2 #D3FAA2
monochromatic
#2E39F4 #6870F7 #A2A7FA #DCDEFD #E2E4FD

Accessibility & contrast

On white

2.22
#A2A7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#A2A7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A7FA
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A7FA#FFFFFF#000000##000000
##A2A7FA1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB1FD
Deuteranopia (green-blind)
#88ABF8
Tritanopia (blue-blind)
#8AB7C5
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a2a7fa;
/* rgb */ color: rgb(162, 167, 250);
/* oklch */ color: oklch(75.7% 0.119 280.5);
Tailwind
colors: {
  custom: {
    50: '#c0c1fc',
    500: '#a2a7fa',
    950: '#000000',
  },
}
SCSS
$custom: #a2a7fa;
$custom-light: #c0c1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a7fa",
  "rgb": {
    "r": 162,
    "g": 167,
    "b": 250
  },
  "hsl": {
    "h": 236.591,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.75672,
    "c": 0.11887,
    "h": 280.5
  },
  "luminance": 0.42221
}

Semantic roles & 50–950 ramp

primary
#A2A7FA
secondary
#F6F4D5
accent
#D800E6
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#121217
muted
#818185

Preview Lab

Preview with #A2A7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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