#ABA7FC#ABA7FC

#ABA7FC is a light, vivid blue. Relative luminance 0.433; OKLCH L 76.4% C 0.121 H 285.3°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#ABA7FC
RGBrgb(171, 167, 252)
HSLhsl(243, 93%, 82%)
HSVhsv(243, 34%, 99%)
CMYKcmyk(32.1%, 33.7%, 0%, 1.2%)
CIE-LABlab(71.77, 20.33, -41.70)
CIE-LCHlch(71.77, 46.40, 295.99°)
OKLaboklab(76.44% 0.0319 -0.1163)
OKLCHoklch(76.44% 0.121 285.3)
XYZxyz(48.1793, 43.3223, 97.9002)
Luminance0.4332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA7FC #F8FCA7
analogous
#A7CDFC #ABA7FC #D6A7FC
triadic
#ABA7FC #FCABA7 #A7FCAB
tetradic
#ABA7FC #FCA7CD #F8FCA7 #A7FCD6
square
#ABA7FC #FCA7CD #F8FCA7 #A7FCD6
split-complementary
#ABA7FC #FCD6A7 #CDFCA7
monochromatic
#3A31F8 #736CFA #ABA7FC #E3E1FE #E3E1FE

Accessibility & contrast

On white

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

On black

9.66
#ABA7FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA7FC
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA7FC#FFFFFF#000000##000000
##ABA7FC1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB2FF
Deuteranopia (green-blind)
#8CADFA
Tritanopia (blue-blind)
#97B7C6
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #aba7fc;
/* rgb */ color: rgb(171, 167, 252);
/* oklch */ color: oklch(76.4% 0.121 285.3);
Tailwind
colors: {
  custom: {
    50: '#c6c1fd',
    500: '#aba7fc',
    950: '#000000',
  },
}
SCSS
$custom: #aba7fc;
$custom-light: #c6c1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#aba7fc",
  "rgb": {
    "r": 171,
    "g": 167,
    "b": 252
  },
  "hsl": {
    "h": 242.824,
    "s": 93.407,
    "l": 82.157
  },
  "oklch": {
    "l": 0.76444,
    "c": 0.12059,
    "h": 285.3
  },
  "luminance": 0.43324
}

Semantic roles & 50–950 ramp

primary
#ABA7FC
secondary
#F5F6D5
accent
#E600DB
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #ABA7FC

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

Preview Lab → · Contrast checker → · Palette generator →

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