#ABA7ED#ABA7ED

#ABA7ED is a light, moderate blue. Relative luminance 0.424; OKLCH L 75.8% C 0.100 H 286.4°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#ABA7ED
RGBrgb(171, 167, 237)
HSLhsl(243, 66%, 79%)
HSVhsv(243, 30%, 93%)
CMYKcmyk(27.8%, 29.5%, 0%, 7.1%)
CIE-LABlab(71.15, 16.61, -34.52)
CIE-LCHlch(71.15, 38.31, 295.70°)
OKLaboklab(75.76% 0.0281 -0.0957)
OKLCHoklch(75.76% 0.1 286.4)
XYZxyz(45.8954, 42.4088, 85.8720)
Luminance0.4241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA7ED #E9EDA7
analogous
#A7C6ED #ABA7ED #CEA7ED
triadic
#ABA7ED #EDABA7 #A7EDAB
tetradic
#ABA7ED #EDA7C6 #E9EDA7 #A7EDCE
square
#ABA7ED #EDA7C6 #E9EDA7 #A7EDCE
split-complementary
#ABA7ED #EDCEA7 #C6EDA7
monochromatic
#4A41D8 #7B74E3 #ABA7ED #DBDAF7 #E7E6FA

Accessibility & contrast

On white

2.21
#ABA7ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#ABA7ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA7ED
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA7ED#FFFFFF#000000##000000
##ABA7ED1.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B0F0
Deuteranopia (green-blind)
#92ACEB
Tritanopia (blue-blind)
#9CB3C0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #aba7ed;
/* rgb */ color: rgb(171, 167, 237);
/* oklch */ color: oklch(75.8% 0.100 286.4);
Tailwind
colors: {
  custom: {
    50: '#c5c1f3',
    500: '#aba7ed',
    950: '#000000',
  },
}
SCSS
$custom: #aba7ed;
$custom-light: #c5c1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#aba7ed",
  "rgb": {
    "r": 171,
    "g": 167,
    "b": 237
  },
  "hsl": {
    "h": 243.429,
    "s": 66.038,
    "l": 79.216
  },
  "oklch": {
    "l": 0.75762,
    "c": 0.0997,
    "h": 286.4
  },
  "luminance": 0.4241
}

Semantic roles & 50–950 ramp

primary
#ABA7ED
secondary
#F0F1DA
accent
#CE18C3
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #ABA7ED

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

Preview Lab → · Contrast checker → · Palette generator →

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