#AB41B5#AB41B5

#AB41B5 is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.5% C 0.196 H 324.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AB41B5
RGBrgb(171, 65, 181)
HSLhsl(295, 47%, 48%)
HSVhsv(295, 64%, 71%)
CMYKcmyk(5.5%, 64.1%, 0%, 29%)
CIE-LABlab(46.68, 58.61, -41.27)
CIE-LCHlch(46.68, 71.68, 324.85°)
OKLaboklab(56.55% 0.1588 -0.1146)
OKLCHoklch(56.55% 0.196 324.2)
XYZxyz(27.0247, 15.7763, 45.3288)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB41B5 #4BB541
analogous
#7141B5 #AB41B5 #B54185
triadic
#AB41B5 #B5AB41 #41B5AB
tetradic
#AB41B5 #B57141 #4BB541 #4185B5
square
#AB41B5 #B57141 #4BB541 #4185B5
split-complementary
#AB41B5 #85B541 #41B571
monochromatic
#56215B #803188 #AB41B5 #C16AC9 #D497DA

Accessibility & contrast

On white

5.05
#AB41B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AB41B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB41B5
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB41B5#FFFFFF#000000##FFFFFF
##AB41B51.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A66B8
Deuteranopia (green-blind)
#5473B2
Tritanopia (blue-blind)
#AE5375
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab41b5;
/* rgb */ color: rgb(171, 65, 181);
/* oklch */ color: oklch(56.5% 0.196 324.2);
Tailwind
colors: {
  custom: {
    50: '#c77dcc',
    500: '#ab41b5',
    950: '#000000',
  },
}
SCSS
$custom: #ab41b5;
$custom-light: #c77dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab41b5",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 294.828,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56547,
    "c": 0.19585,
    "h": 324.2
  },
  "luminance": 0.15775
}

Semantic roles & 50–950 ramp

primary
#AB41B5
secondary
#91C58C
accent
#D7515D
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB41B5

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

Preview Lab → · Contrast checker → · Palette generator →

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