#ABA8FE#ABA8FE

#ABA8FE is a light, vivid blue. Relative luminance 0.438; OKLCH L 76.7% C 0.122 H 284.7°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#ABA8FE
RGBrgb(171, 168, 254)
HSLhsl(242, 98%, 83%)
HSVhsv(242, 34%, 100%)
CMYKcmyk(32.7%, 33.9%, 0%, 0.4%)
CIE-LABlab(72.11, 20.28, -42.26)
CIE-LCHlch(72.11, 46.88, 295.63°)
OKLaboklab(76.73% 0.031 -0.1179)
OKLCHoklch(76.73% 0.122 284.7)
XYZxyz(48.6818, 43.8176, 99.6394)
Luminance0.4382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA8FE #FBFEA8
analogous
#A8D0FE #ABA8FE #D6A8FE
triadic
#ABA8FE #FEABA8 #A8FEAB
tetradic
#ABA8FE #FEA8D0 #FBFEA8 #A8FED6
square
#ABA8FE #FEA8D0 #FBFEA8 #A8FED6
split-complementary
#ABA8FE #FED6A8 #D0FEA8
monochromatic
#362FFD #716BFD #ABA8FE #E2E1FF #E2E1FF

Accessibility & contrast

On white

2.15
#ABA8FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#ABA8FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA8FE
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA8FE#FFFFFF#000000##000000
##ABA8FE1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB3FF
Deuteranopia (green-blind)
#8CAEFC
Tritanopia (blue-blind)
#96B8C7
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #aba8fe;
/* rgb */ color: rgb(171, 168, 254);
/* oklch */ color: oklch(76.7% 0.122 284.7);
Tailwind
colors: {
  custom: {
    50: '#c6c1ff',
    500: '#aba8fe',
    950: '#000000',
  },
}
SCSS
$custom: #aba8fe;
$custom-light: #c6c1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aba8fe",
  "rgb": {
    "r": 171,
    "g": 168,
    "b": 254
  },
  "hsl": {
    "h": 242.093,
    "s": 97.727,
    "l": 82.745
  },
  "oklch": {
    "l": 0.76728,
    "c": 0.12195,
    "h": 284.7
  },
  "luminance": 0.43819
}

Semantic roles & 50–950 ramp

primary
#ABA8FE
secondary
#F6F7D4
accent
#E600DD
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #ABA8FE

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

Preview Lab → · Contrast checker → · Palette generator →

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