#ABA7FA#ABA7FA

#ABA7FA is a light, moderate blue. Relative luminance 0.432; OKLCH L 76.4% C 0.118 H 285.5°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#ABA7FA
RGBrgb(171, 167, 250)
HSLhsl(243, 89%, 82%)
HSVhsv(243, 33%, 98%)
CMYKcmyk(31.6%, 33.2%, 0%, 2%)
CIE-LABlab(71.69, 19.83, -40.75)
CIE-LCHlch(71.69, 45.32, 295.95°)
OKLaboklab(76.35% 0.0314 -0.1136)
OKLCHoklch(76.35% 0.118 285.5)
XYZxyz(47.8640, 43.1962, 96.2398)
Luminance0.4320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA7FA #F6FAA7
analogous
#A7CDFA #ABA7FA #D5A7FA
triadic
#ABA7FA #FAABA7 #A7FAAB
tetradic
#ABA7FA #FAA7CD #F6FAA7 #A7FAD5
square
#ABA7FA #FAA7CD #F6FAA7 #A7FAD5
split-complementary
#ABA7FA #FAD5A7 #CDFAA7
monochromatic
#3C33F3 #746DF7 #ABA7FA #E2E1FD #E3E2FD

Accessibility & contrast

On white

2.18
#ABA7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#ABA7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA7FA
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA7FA#FFFFFF#000000##000000
##ABA7FA1.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB2FD
Deuteranopia (green-blind)
#8CADF8
Tritanopia (blue-blind)
#97B6C5
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #aba7fa;
/* rgb */ color: rgb(171, 167, 250);
/* oklch */ color: oklch(76.4% 0.118 285.5);
Tailwind
colors: {
  custom: {
    50: '#c6c1fc',
    500: '#aba7fa',
    950: '#000000',
  },
}
SCSS
$custom: #aba7fa;
$custom-light: #c6c1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#aba7fa",
  "rgb": {
    "r": 171,
    "g": 167,
    "b": 250
  },
  "hsl": {
    "h": 242.892,
    "s": 89.247,
    "l": 81.765
  },
  "oklch": {
    "l": 0.76351,
    "c": 0.11783,
    "h": 285.5
  },
  "luminance": 0.43197
}

Semantic roles & 50–950 ramp

primary
#ABA7FA
secondary
#F4F5D6
accent
#E600DA
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #ABA7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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