#A8A2FB#A8A2FB

#A8A2FB is a light, vivid blue. Relative luminance 0.411; OKLCH L 75.2% C 0.127 H 286.0°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#A8A2FB
RGBrgb(168, 162, 251)
HSLhsl(244, 92%, 81%)
HSVhsv(244, 35%, 98%)
CMYKcmyk(33.1%, 35.5%, 0%, 1.6%)
CIE-LABlab(70.27, 22.08, -43.53)
CIE-LCHlch(70.27, 48.81, 296.89°)
OKLaboklab(75.22% 0.0349 -0.1217)
OKLCHoklch(75.22% 0.127 286)
XYZxyz(46.4767, 41.1292, 96.7381)
Luminance0.4113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A2FB #F5FBA2
analogous
#A2C8FB #A8A2FB #D4A2FB
triadic
#A8A2FB #FBA8A2 #A2FBA8
tetradic
#A8A2FB #FBA2C8 #F5FBA2 #A2FBD4
square
#A8A2FB #FBA2C8 #F5FBA2 #A2FBD4
split-complementary
#A8A2FB #FBD4A2 #C8FBA2
monochromatic
#3A2DF6 #7167F8 #A8A2FB #DFDDFE #E4E2FE

Accessibility & contrast

On white

2.28
#A8A2FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#A8A2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A2FB
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A2FB#FFFFFF#000000##000000
##A8A2FB1.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFF
Deuteranopia (green-blind)
#85A9F9
Tritanopia (blue-blind)
#93B3C3
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a8a2fb;
/* rgb */ color: rgb(168, 162, 251);
/* oklch */ color: oklch(75.2% 0.127 286.0);
Tailwind
colors: {
  custom: {
    50: '#c4bdfd',
    500: '#a8a2fb',
    950: '#000000',
  },
}
SCSS
$custom: #a8a2fb;
$custom-light: #c4bdfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a2fb",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 251
  },
  "hsl": {
    "h": 244.045,
    "s": 91.753,
    "l": 80.98
  },
  "oklch": {
    "l": 0.75217,
    "c": 0.12657,
    "h": 286
  },
  "luminance": 0.41131
}

Semantic roles & 50–950 ramp

primary
#A8A2FB
secondary
#F4F6D5
accent
#E600D6
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A8A2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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