#ABA7FE#ABA7FE

#ABA7FE is a light, vivid blue. Relative luminance 0.435; OKLCH L 76.5% C 0.123 H 285.2°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#ABA7FE
RGBrgb(171, 167, 254)
HSLhsl(243, 98%, 83%)
HSVhsv(243, 34%, 100%)
CMYKcmyk(32.7%, 34.3%, 0%, 0.4%)
CIE-LABlab(71.86, 20.84, -42.65)
CIE-LCHlch(71.86, 47.47, 296.04°)
OKLaboklab(76.54% 0.0323 -0.119)
OKLCHoklch(76.54% 0.123 285.2)
XYZxyz(48.4979, 43.4498, 99.5781)
Luminance0.4345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA7FE #FAFEA7
analogous
#A7CEFE #ABA7FE #D7A7FE
triadic
#ABA7FE #FEABA7 #A7FEAB
tetradic
#ABA7FE #FEA7CE #FAFEA7 #A7FED7
square
#ABA7FE #FEA7CE #FAFEA7 #A7FED7
split-complementary
#ABA7FE #FED7A7 #CEFEA7
monochromatic
#372EFD #716AFD #ABA7FE #E2E1FF #E2E1FF

Accessibility & contrast

On white

2.17
#ABA7FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#ABA7FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA7FE
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA7FE#FFFFFF#000000##000000
##ABA7FE1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB3FF
Deuteranopia (green-blind)
#8BAEFC
Tritanopia (blue-blind)
#96B7C7
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #aba7fe;
/* rgb */ color: rgb(171, 167, 254);
/* oklch */ color: oklch(76.5% 0.123 285.2);
Tailwind
colors: {
  custom: {
    50: '#c6c1ff',
    500: '#aba7fe',
    950: '#000000',
  },
}
SCSS
$custom: #aba7fe;
$custom-light: #c6c1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aba7fe",
  "rgb": {
    "r": 171,
    "g": 167,
    "b": 254
  },
  "hsl": {
    "h": 242.759,
    "s": 97.753,
    "l": 82.549
  },
  "oklch": {
    "l": 0.76539,
    "c": 0.12336,
    "h": 285.2
  },
  "luminance": 0.43451
}

Semantic roles & 50–950 ramp

primary
#ABA7FE
secondary
#F5F7D4
accent
#E600DB
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #ABA7FE

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

Preview Lab → · Contrast checker → · Palette generator →

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