#ABA7EB#ABA7EB

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

Color values

HEX#ABA7EB
RGBrgb(171, 167, 235)
HSLhsl(244, 63%, 79%)
HSVhsv(244, 29%, 92%)
CMYKcmyk(27.2%, 28.9%, 0%, 7.8%)
CIE-LABlab(71.07, 16.13, -33.55)
CIE-LCHlch(71.07, 37.23, 295.67°)
OKLaboklab(75.67% 0.0276 -0.0929)
OKLCHoklch(75.67% 0.097 286.5)
XYZxyz(45.6049, 42.2926, 84.3417)
Luminance0.4229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA7EB #E7EBA7
analogous
#A7C5EB #ABA7EB #CDA7EB
triadic
#ABA7EB #EBABA7 #A7EBAB
tetradic
#ABA7EB #EBA7C5 #E7EBA7 #A7EBCD
square
#ABA7EB #EBA7C5 #E7EBA7 #A7EBCD
split-complementary
#ABA7EB #EBCDA7 #C5EBA7
monochromatic
#4C43D4 #7B75E0 #ABA7EB #DBD9F6 #E7E6F9

Accessibility & contrast

On white

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

On black

9.46
#ABA7EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA7EB
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA7EB#FFFFFF#000000##000000
##ABA7EB1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B0EE
Deuteranopia (green-blind)
#93ACE9
Tritanopia (blue-blind)
#9CB3BF
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #aba7eb;
/* rgb */ color: rgb(171, 167, 235);
/* oklch */ color: oklch(75.7% 0.097 286.5);
Tailwind
colors: {
  custom: {
    50: '#c5c1f1',
    500: '#aba7eb',
    950: '#000000',
  },
}
SCSS
$custom: #aba7eb;
$custom-light: #c5c1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#aba7eb",
  "rgb": {
    "r": 171,
    "g": 167,
    "b": 235
  },
  "hsl": {
    "h": 243.529,
    "s": 62.963,
    "l": 78.824
  },
  "oklch": {
    "l": 0.75674,
    "c": 0.0969,
    "h": 286.5
  },
  "luminance": 0.42294
}

Semantic roles & 50–950 ramp

primary
#ABA7EB
secondary
#EFF1DA
accent
#CB1BC0
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #ABA7EB

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

Preview Lab → · Contrast checker → · Palette generator →

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