#ABA2F7#ABA2F7

#ABA2F7 is a light, vivid blue. Relative luminance 0.412; OKLCH L 75.3% C 0.121 H 288.0°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#ABA2F7
RGBrgb(171, 162, 247)
HSLhsl(246, 84%, 80%)
HSVhsv(246, 34%, 97%)
CMYKcmyk(30.8%, 34.4%, 0%, 3.1%)
CIE-LABlab(70.32, 21.89, -41.25)
CIE-LCHlch(70.32, 46.70, 297.95°)
OKLaboklab(75.26% 0.0373 -0.115)
OKLCHoklch(75.26% 0.121 288)
XYZxyz(46.4990, 41.2129, 93.4827)
Luminance0.4121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA2F7 #EEF7A2
analogous
#A2C3F7 #ABA2F7 #D5A2F7
triadic
#ABA2F7 #F7ABA2 #A2F7AB
tetradic
#ABA2F7 #F7A2C3 #EEF7A2 #A2F7D5
square
#ABA2F7 #F7A2C3 #EEF7A2 #A2F7D5
split-complementary
#ABA2F7 #F7D5A2 #C3F7A2
monochromatic
#4531ED #786AF2 #ABA2F7 #DEDAFC #E6E3FD

Accessibility & contrast

On white

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

On black

9.24
#ABA2F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA2F7
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA2F7#FFFFFF#000000##000000
##ABA2F71.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AEFA
Deuteranopia (green-blind)
#89AAF5
Tritanopia (blue-blind)
#99B1C1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #aba2f7;
/* rgb */ color: rgb(171, 162, 247);
/* oklch */ color: oklch(75.3% 0.121 288.0);
Tailwind
colors: {
  custom: {
    50: '#c6bdfa',
    500: '#aba2f7',
    950: '#000000',
  },
}
SCSS
$custom: #aba2f7;
$custom-light: #c6bdfa;
$custom-dark: #000000;
JSON
{
  "hex": "#aba2f7",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 247
  },
  "hsl": {
    "h": 246.353,
    "s": 84.158,
    "l": 80.196
  },
  "oklch": {
    "l": 0.75262,
    "c": 0.12091,
    "h": 288
  },
  "luminance": 0.41214
}

Semantic roles & 50–950 ramp

primary
#ABA2F7
secondary
#F1F5D6
accent
#E105C9
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #ABA2F7

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

Preview Lab → · Contrast checker → · Palette generator →

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