#ABA2FC#ABA2FC

#ABA2FC is a light, vivid blue. Relative luminance 0.415; OKLCH L 75.5% C 0.128 H 287.5°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#ABA2FC
RGBrgb(171, 162, 252)
HSLhsl(246, 94%, 81%)
HSVhsv(246, 36%, 99%)
CMYKcmyk(32.1%, 35.7%, 0%, 1.2%)
CIE-LABlab(70.54, 23.15, -43.63)
CIE-LCHlch(70.54, 49.39, 297.95°)
OKLaboklab(75.5% 0.0384 -0.1219)
OKLCHoklch(75.5% 0.128 287.5)
XYZxyz(47.2810, 41.5257, 97.6007)
Luminance0.4153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA2FC #F3FCA2
analogous
#A2C6FC #ABA2FC #D8A2FC
triadic
#ABA2FC #FCABA2 #A2FCAB
tetradic
#ABA2FC #FCA2C6 #F3FCA2 #A2FCD8
square
#ABA2FC #FCA2C6 #F3FCA2 #A2FCD8
split-complementary
#ABA2FC #FCD8A2 #C6FCA2
monochromatic
#402BF8 #7567FA #ABA2FC #E1DDFE #E4E1FE

Accessibility & contrast

On white

2.26
#ABA2FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#ABA2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA2FC
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA2FC#FFFFFF#000000##000000
##ABA2FC1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AFFF
Deuteranopia (green-blind)
#86AAFA
Tritanopia (blue-blind)
#97B3C3
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #aba2fc;
/* rgb */ color: rgb(171, 162, 252);
/* oklch */ color: oklch(75.5% 0.128 287.5);
Tailwind
colors: {
  custom: {
    50: '#c6bdfd',
    500: '#aba2fc',
    950: '#000000',
  },
}
SCSS
$custom: #aba2fc;
$custom-light: #c6bdfd;
$custom-dark: #000000;
JSON
{
  "hex": "#aba2fc",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 252
  },
  "hsl": {
    "h": 246,
    "s": 93.75,
    "l": 81.176
  },
  "oklch": {
    "l": 0.75501,
    "c": 0.12779,
    "h": 287.5
  },
  "luminance": 0.41527
}

Semantic roles & 50–950 ramp

primary
#ABA2FC
secondary
#F3F6D5
accent
#E600CF
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #ABA2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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