#A8A2F2#A8A2F2

#A8A2F2 is a light, moderate blue. Relative luminance 0.406; OKLCH L 74.8% C 0.114 H 286.7°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#A8A2F2
RGBrgb(168, 162, 242)
HSLhsl(245, 75%, 79%)
HSVhsv(245, 33%, 95%)
CMYKcmyk(30.6%, 33.1%, 0%, 5.1%)
CIE-LABlab(69.88, 19.80, -39.24)
CIE-LCHlch(69.88, 43.96, 296.77°)
OKLaboklab(74.79% 0.0328 -0.1093)
OKLCHoklch(74.79% 0.114 286.7)
XYZxyz(45.0916, 40.5752, 89.4432)
Luminance0.4058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A2F2 #ECF2A2
analogous
#A2C4F2 #A8A2F2 #D0A2F2
triadic
#A8A2F2 #F2A8A2 #A2F2A8
tetradic
#A8A2F2 #F2A2C4 #ECF2A2 #A2F2D0
square
#A8A2F2 #F2A2C4 #ECF2A2 #A2F2D0
split-complementary
#A8A2F2 #F2D0A2 #C4F2A2
monochromatic
#4437E3 #766CEA #A8A2F2 #DAD8FA #E6E4FB

Accessibility & contrast

On white

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

On black

9.12
#A8A2F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A2F2
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A2F2#FFFFFF#000000##000000
##A8A2F21.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BADF5
Deuteranopia (green-blind)
#8AA9F0
Tritanopia (blue-blind)
#96B0BF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a8a2f2;
/* rgb */ color: rgb(168, 162, 242);
/* oklch */ color: oklch(74.8% 0.114 286.7);
Tailwind
colors: {
  custom: {
    50: '#c4bdf6',
    500: '#a8a2f2',
    950: '#000000',
  },
}
SCSS
$custom: #a8a2f2;
$custom-light: #c4bdf6;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a2f2",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 242
  },
  "hsl": {
    "h": 244.5,
    "s": 75.472,
    "l": 79.216
  },
  "oklch": {
    "l": 0.74791,
    "c": 0.1141,
    "h": 286.7
  },
  "luminance": 0.40576
}

Semantic roles & 50–950 ramp

primary
#A8A2F2
secondary
#F1F3D8
accent
#D80EC9
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131217
muted
#828185

Preview Lab

Preview with #A8A2F2

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

Preview Lab → · Contrast checker → · Palette generator →

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