#AB5EBB#AB5EBB

#AB5EBB is a mid, vivid purple. Relative luminance 0.203; OKLCH L 60.6% C 0.157 H 320.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AB5EBB
RGBrgb(171, 94, 187)
HSLhsl(290, 41%, 55%)
HSVhsv(290, 50%, 73%)
CMYKcmyk(8.6%, 49.7%, 0%, 26.7%)
CIE-LABlab(52.12, 45.92, -36.17)
CIE-LCHlch(52.12, 58.45, 321.77°)
OKLaboklab(60.63% 0.1215 -0.1001)
OKLCHoklch(60.63% 0.157 320.5)
XYZxyz(29.7659, 20.2524, 49.3452)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5EBB #6EBB5E
analogous
#7C5EBB #AB5EBB #BB5E9D
triadic
#AB5EBB #BBAB5E #5EBBAB
tetradic
#AB5EBB #BB7C5E #6EBB5E #5E9DBB
square
#AB5EBB #BB7C5E #6EBB5E #5E9DBB
split-complementary
#AB5EBB #9DBB5E #5EBB7C
monochromatic
#642F70 #8B419B #AB5EBB #C189CD #D8B4DF

Accessibility & contrast

On white

4.16
#AB5EBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#AB5EBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5EBB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5EBB#FFFFFF#000000##000000
##AB5EBB1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F77BE
Deuteranopia (green-blind)
#667FB8
Tritanopia (blue-blind)
#AC6B84
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ab5ebb;
/* rgb */ color: rgb(171, 94, 187);
/* oklch */ color: oklch(60.6% 0.157 320.5);
Tailwind
colors: {
  custom: {
    50: '#c68ed0',
    500: '#ab5ebb',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ebb;
$custom-light: #c68ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ebb",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 187
  },
  "hsl": {
    "h": 289.677,
    "s": 40.611,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6063,
    "c": 0.1574,
    "h": 320.5
  },
  "luminance": 0.20251
}

Semantic roles & 50–950 ramp

primary
#AB5EBB
secondary
#AECEA7
accent
#D0576C
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AB5EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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