#ABA2F8#ABA2F8

#ABA2F8 is a light, vivid blue. Relative luminance 0.413; OKLCH L 75.3% C 0.122 H 287.9°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#ABA2F8
RGBrgb(171, 162, 248)
HSLhsl(246, 86%, 80%)
HSVhsv(246, 35%, 97%)
CMYKcmyk(31%, 34.7%, 0%, 2.7%)
CIE-LABlab(70.37, 22.14, -41.73)
CIE-LCHlch(70.37, 47.24, 297.95°)
OKLaboklab(75.31% 0.0376 -0.1164)
OKLCHoklch(75.31% 0.122 287.9)
XYZxyz(46.6538, 41.2748, 94.2975)
Luminance0.4128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA2F8 #EFF8A2
analogous
#A2C4F8 #ABA2F8 #D6A2F8
triadic
#ABA2F8 #F8ABA2 #A2F8AB
tetradic
#ABA2F8 #F8A2C4 #EFF8A2 #A2F8D6
square
#ABA2F8 #F8A2C4 #EFF8A2 #A2F8D6
split-complementary
#ABA2F8 #F8D6A2 #C4F8A2
monochromatic
#4430EF #7869F4 #ABA2F8 #DEDBFC #E5E3FD

Accessibility & contrast

On white

2.27
#ABA2F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#ABA2F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA2F8
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA2F8#FFFFFF#000000##000000
##ABA2F81.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AEFB
Deuteranopia (green-blind)
#88AAF6
Tritanopia (blue-blind)
#98B2C2
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #aba2f8;
/* rgb */ color: rgb(171, 162, 248);
/* oklch */ color: oklch(75.3% 0.122 287.9);
Tailwind
colors: {
  custom: {
    50: '#c6bdfb',
    500: '#aba2f8',
    950: '#000000',
  },
}
SCSS
$custom: #aba2f8;
$custom-light: #c6bdfb;
$custom-dark: #000000;
JSON
{
  "hex": "#aba2f8",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 248
  },
  "hsl": {
    "h": 246.279,
    "s": 86,
    "l": 80.392
  },
  "oklch": {
    "l": 0.7531,
    "c": 0.12229,
    "h": 287.9
  },
  "luminance": 0.41276
}

Semantic roles & 50–950 ramp

primary
#ABA2F8
secondary
#F2F5D6
accent
#E303CB
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #ABA2F8

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

Preview Lab → · Contrast checker → · Palette generator →

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