#A7A2F1#A7A2F1

#A7A2F1 is a light, moderate blue. Relative luminance 0.404; OKLCH L 74.7% C 0.113 H 286.2°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#A7A2F1
RGBrgb(167, 162, 241)
HSLhsl(244, 74%, 79%)
HSVhsv(244, 33%, 95%)
CMYKcmyk(30.7%, 32.8%, 0%, 5.5%)
CIE-LABlab(69.76, 19.27, -38.89)
CIE-LCHlch(69.76, 43.40, 296.36°)
OKLaboklab(74.67% 0.0315 -0.1083)
OKLCHoklch(74.67% 0.113 286.2)
XYZxyz(44.7297, 40.4059, 88.6445)
Luminance0.4041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A2F1 #ECF1A2
analogous
#A2C5F1 #A7A2F1 #CFA2F1
triadic
#A7A2F1 #F1A7A2 #A2F1A7
tetradic
#A7A2F1 #F1A2C5 #ECF1A2 #A2F1CF
square
#A7A2F1 #F1A2C5 #ECF1A2 #A2F1CF
split-complementary
#A7A2F1 #F1CFA2 #C5F1A2
monochromatic
#4238E1 #756DE9 #A7A2F1 #D9D7F9 #E6E4FB

Accessibility & contrast

On white

2.31
#A7A2F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#A7A2F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A2F1
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A2F1#FFFFFF#000000##000000
##A7A2F11.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BADF4
Deuteranopia (green-blind)
#8AA8EF
Tritanopia (blue-blind)
#95B0BF
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a7a2f1;
/* rgb */ color: rgb(167, 162, 241);
/* oklch */ color: oklch(74.7% 0.113 286.2);
Tailwind
colors: {
  custom: {
    50: '#c3bdf6',
    500: '#a7a2f1',
    950: '#000000',
  },
}
SCSS
$custom: #a7a2f1;
$custom-light: #c3bdf6;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a2f1",
  "rgb": {
    "r": 167,
    "g": 162,
    "b": 241
  },
  "hsl": {
    "h": 243.797,
    "s": 73.832,
    "l": 79.02
  },
  "oklch": {
    "l": 0.74666,
    "c": 0.11277,
    "h": 286.2
  },
  "luminance": 0.40407
}

Semantic roles & 50–950 ramp

primary
#A7A2F1
secondary
#F1F3D8
accent
#D610C9
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131217
muted
#828185

Preview Lab

Preview with #A7A2F1

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

Preview Lab → · Contrast checker → · Palette generator →

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