#A8A2F7#A8A2F7

#A8A2F7 is a light, vivid blue. Relative luminance 0.409; OKLCH L 75.0% C 0.121 H 286.3°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#A8A2F7
RGBrgb(168, 162, 247)
HSLhsl(244, 84%, 80%)
HSVhsv(244, 34%, 97%)
CMYKcmyk(32%, 34.4%, 0%, 3.1%)
CIE-LABlab(70.09, 21.06, -41.63)
CIE-LCHlch(70.09, 46.66, 296.83°)
OKLaboklab(75.03% 0.034 -0.1162)
OKLCHoklch(75.03% 0.121 286.3)
XYZxyz(45.8528, 40.8797, 93.4524)
Luminance0.4088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A2F7 #F1F7A2
analogous
#A2C7F7 #A8A2F7 #D2A2F7
triadic
#A8A2F7 #F7A8A2 #A2F7A8
tetradic
#A8A2F7 #F7A2C7 #F1F7A2 #A2F7D2
square
#A8A2F7 #F7A2C7 #F1F7A2 #A2F7D2
split-complementary
#A8A2F7 #F7D2A2 #C7F7A2
monochromatic
#3F31ED #736AF2 #A8A2F7 #DDDAFC #E5E3FD

Accessibility & contrast

On white

2.29
#A8A2F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#A8A2F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A2F7
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A2F7#FFFFFF#000000##000000
##A8A2F71.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AEFA
Deuteranopia (green-blind)
#87A9F5
Tritanopia (blue-blind)
#94B2C1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a8a2f7;
/* rgb */ color: rgb(168, 162, 247);
/* oklch */ color: oklch(75.0% 0.121 286.3);
Tailwind
colors: {
  custom: {
    50: '#c4bdfa',
    500: '#a8a2f7',
    950: '#000000',
  },
}
SCSS
$custom: #a8a2f7;
$custom-light: #c4bdfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a2f7",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 247
  },
  "hsl": {
    "h": 244.235,
    "s": 84.158,
    "l": 80.196
  },
  "oklch": {
    "l": 0.75026,
    "c": 0.12104,
    "h": 286.3
  },
  "luminance": 0.40881
}

Semantic roles & 50–950 ramp

primary
#A8A2F7
secondary
#F2F5D6
accent
#E105D1
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A8A2F7

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

Preview Lab → · Contrast checker → · Palette generator →

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