#ABA7EC#ABA7EC

#ABA7EC is a light, moderate blue. Relative luminance 0.424; OKLCH L 75.7% C 0.098 H 286.5°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#ABA7EC
RGBrgb(171, 167, 236)
HSLhsl(243, 64%, 79%)
HSVhsv(243, 29%, 93%)
CMYKcmyk(27.5%, 29.2%, 0%, 7.5%)
CIE-LABlab(71.11, 16.37, -34.04)
CIE-LCHlch(71.11, 37.77, 295.68°)
OKLaboklab(75.72% 0.0278 -0.0943)
OKLCHoklch(75.72% 0.098 286.5)
XYZxyz(45.7498, 42.3505, 85.1047)
Luminance0.4235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA7EC #E8ECA7
analogous
#A7C6EC #ABA7EC #CEA7EC
triadic
#ABA7EC #ECABA7 #A7ECAB
tetradic
#ABA7EC #ECA7C6 #E8ECA7 #A7ECCE
square
#ABA7EC #ECA7C6 #E8ECA7 #A7ECCE
split-complementary
#ABA7EC #ECCEA7 #C6ECA7
monochromatic
#4B42D6 #7B75E1 #ABA7EC #DBD9F7 #E7E6FA

Accessibility & contrast

On white

2.22
#ABA7EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#ABA7EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA7EC
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA7EC#FFFFFF#000000##000000
##ABA7EC1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B0EF
Deuteranopia (green-blind)
#93ACEA
Tritanopia (blue-blind)
#9CB3BF
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #aba7ec;
/* rgb */ color: rgb(171, 167, 236);
/* oklch */ color: oklch(75.7% 0.098 286.5);
Tailwind
colors: {
  custom: {
    50: '#c5c1f2',
    500: '#aba7ec',
    950: '#000000',
  },
}
SCSS
$custom: #aba7ec;
$custom-light: #c5c1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aba7ec",
  "rgb": {
    "r": 171,
    "g": 167,
    "b": 236
  },
  "hsl": {
    "h": 243.478,
    "s": 64.486,
    "l": 79.02
  },
  "oklch": {
    "l": 0.75718,
    "c": 0.0983,
    "h": 286.5
  },
  "luminance": 0.42351
}

Semantic roles & 50–950 ramp

primary
#ABA7EC
secondary
#F0F1DA
accent
#CC19C2
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #ABA7EC

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

Preview Lab → · Contrast checker → · Palette generator →

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