#ABA2F6#ABA2F6

#ABA2F6 is a light, moderate blue. Relative luminance 0.412; OKLCH L 75.2% C 0.120 H 288.1°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#ABA2F6
RGBrgb(171, 162, 246)
HSLhsl(246, 82%, 80%)
HSVhsv(246, 34%, 96%)
CMYKcmyk(30.5%, 34.1%, 0%, 3.5%)
CIE-LABlab(70.28, 21.64, -40.77)
CIE-LCHlch(70.28, 46.16, 297.95°)
OKLaboklab(75.22% 0.0371 -0.1136)
OKLCHoklch(75.22% 0.12 288.1)
XYZxyz(46.3451, 41.1513, 92.6721)
Luminance0.4115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA2F6 #EDF6A2
analogous
#A2C3F6 #ABA2F6 #D5A2F6
triadic
#ABA2F6 #F6ABA2 #A2F6AB
tetradic
#ABA2F6 #F6A2C3 #EDF6A2 #A2F6D5
square
#ABA2F6 #F6A2C3 #EDF6A2 #A2F6D5
split-complementary
#ABA2F6 #F6D5A2 #C3F6A2
monochromatic
#4632EB #796AF1 #ABA2F6 #DDDAFB #E6E3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA2F6#FFFFFF#000000##000000
##ABA2F61.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)
#8AAEF9
Deuteranopia (green-blind)
#89AAF4
Tritanopia (blue-blind)
#99B1C1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #aba2f6;
/* rgb */ color: rgb(171, 162, 246);
/* oklch */ color: oklch(75.2% 0.120 288.1);
Tailwind
colors: {
  custom: {
    50: '#c6bdf9',
    500: '#aba2f6',
    950: '#000000',
  },
}
SCSS
$custom: #aba2f6;
$custom-light: #c6bdf9;
$custom-dark: #000000;
JSON
{
  "hex": "#aba2f6",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 246
  },
  "hsl": {
    "h": 246.429,
    "s": 82.353,
    "l": 80
  },
  "oklch": {
    "l": 0.75215,
    "c": 0.11953,
    "h": 288.1
  },
  "luminance": 0.41152
}

Semantic roles & 50–950 ramp

primary
#ABA2F6
secondary
#F1F4D7
accent
#DF07C8
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #ABA2F6

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

Preview Lab → · Contrast checker → · Palette generator →

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