#ABA5F2#ABA5F2

#ABA5F2 is a light, moderate blue. Relative luminance 0.420; OKLCH L 75.6% C 0.110 H 287.0°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#ABA5F2
RGBrgb(171, 165, 242)
HSLhsl(245, 75%, 80%)
HSVhsv(245, 32%, 95%)
CMYKcmyk(29.3%, 31.8%, 0%, 5.1%)
CIE-LABlab(70.86, 18.96, -37.70)
CIE-LCHlch(70.86, 42.20, 296.70°)
OKLaboklab(75.6% 0.0321 -0.1048)
OKLCHoklch(75.6% 0.11 287)
XYZxyz(46.2726, 41.9779, 89.6518)
Luminance0.4198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA5F2 #ECF2A5
analogous
#A5C6F2 #ABA5F2 #D1A5F2
triadic
#ABA5F2 #F2ABA5 #A5F2AB
tetradic
#ABA5F2 #F2A5C6 #ECF2A5 #A5F2D1
square
#ABA5F2 #F2A5C6 #ECF2A5 #A5F2D1
split-complementary
#ABA5F2 #F2D1A5 #C6F2A5
monochromatic
#473AE3 #7970EA #ABA5F2 #DDDAFA #E6E4FB

Accessibility & contrast

On white

2.24
#ABA5F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#ABA5F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA5F2
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA5F2#FFFFFF#000000##000000
##ABA5F21.002.249.409.40
#FFFFFF2.241.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAFF5
Deuteranopia (green-blind)
#8EABF0
Tritanopia (blue-blind)
#9AB3C1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #aba5f2;
/* rgb */ color: rgb(171, 165, 242);
/* oklch */ color: oklch(75.6% 0.110 287.0);
Tailwind
colors: {
  custom: {
    50: '#c5bff6',
    500: '#aba5f2',
    950: '#000000',
  },
}
SCSS
$custom: #aba5f2;
$custom-light: #c5bff6;
$custom-dark: #000000;
JSON
{
  "hex": "#aba5f2",
  "rgb": {
    "r": 171,
    "g": 165,
    "b": 242
  },
  "hsl": {
    "h": 244.675,
    "s": 74.757,
    "l": 79.804
  },
  "oklch": {
    "l": 0.75601,
    "c": 0.1096,
    "h": 287
  },
  "luminance": 0.41979
}

Semantic roles & 50–950 ramp

primary
#ABA5F2
secondary
#F1F3D8
accent
#D70FC7
background
#FCFBFF
surface
#F8F7FE
border
#D1D0D6
text
#131217
muted
#828185

Preview Lab

Preview with #ABA5F2

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

Preview Lab → · Contrast checker → · Palette generator →

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