#ABA4EB#ABA4EB

#ABA4EB is a light, moderate blue. Relative luminance 0.412; OKLCH L 75.1% C 0.101 H 288.2°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#ABA4EB
RGBrgb(171, 164, 235)
HSLhsl(246, 64%, 78%)
HSVhsv(246, 30%, 92%)
CMYKcmyk(27.2%, 30.2%, 0%, 7.8%)
CIE-LABlab(70.32, 17.81, -34.72)
CIE-LCHlch(70.32, 39.02, 297.15°)
OKLaboklab(75.09% 0.0317 -0.0962)
OKLCHoklch(75.09% 0.101 288.2)
XYZxyz(45.0617, 41.2061, 84.1606)
Luminance0.4121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA4EB #E4EBA4
analogous
#A4C0EB #ABA4EB #CEA4EB
triadic
#ABA4EB #EBABA4 #A4EBAB
tetradic
#ABA4EB #EBA4C0 #E4EBA4 #A4EBCE
square
#ABA4EB #EBA4C0 #E4EBA4 #A4EBCE
split-complementary
#ABA4EB #EBCEA4 #C0EBA4
monochromatic
#4E40D5 #7D72E0 #ABA4EB #D9D6F6 #E8E6F9

Accessibility & contrast

On white

2.27
#ABA4EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#ABA4EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA4EB
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA4EB#FFFFFF#000000##000000
##ABA4EB1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AEEE
Deuteranopia (green-blind)
#90AAE9
Tritanopia (blue-blind)
#9CB0BD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #aba4eb;
/* rgb */ color: rgb(171, 164, 235);
/* oklch */ color: oklch(75.1% 0.101 288.2);
Tailwind
colors: {
  custom: {
    50: '#c5bff1',
    500: '#aba4eb',
    950: '#000000',
  },
}
SCSS
$custom: #aba4eb;
$custom-light: #c5bff1;
$custom-dark: #000000;
JSON
{
  "hex": "#aba4eb",
  "rgb": {
    "r": 171,
    "g": 164,
    "b": 235
  },
  "hsl": {
    "h": 245.915,
    "s": 63.964,
    "l": 78.235
  },
  "oklch": {
    "l": 0.75094,
    "c": 0.1013,
    "h": 288.2
  },
  "luminance": 0.41207
}

Semantic roles & 50–950 ramp

primary
#ABA4EB
secondary
#EFF1DA
accent
#CC1ABA
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #ABA4EB

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

Preview Lab → · Contrast checker → · Palette generator →

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