#AB30B5#AB30B5

#AB30B5 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.216 H 324.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#AB30B5
RGBrgb(171, 48, 181)
HSLhsl(295, 58%, 45%)
HSVhsv(295, 73%, 71%)
CMYKcmyk(5.5%, 73.5%, 0%, 29%)
CIE-LABlab(44.39, 65.07, -44.91)
CIE-LCHlch(44.39, 79.06, 325.39°)
OKLaboklab(54.9% 0.1766 -0.1251)
OKLCHoklch(54.9% 0.216 324.7)
XYZxyz(26.1914, 14.1097, 45.0510)
Luminance0.1411 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB30B5 #3AB530
analogous
#6930B5 #AB30B5 #B5307C
triadic
#AB30B5 #B5AB30 #30B5AB
tetradic
#AB30B5 #B56930 #3AB530 #307CB5
square
#AB30B5 #B56930 #3AB530 #307CB5
split-complementary
#AB30B5 #7CB530 #30B569
monochromatic
#501654 #7D2385 #AB30B5 #C751D1 #D782DE

Accessibility & contrast

On white

5.50
#AB30B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AB30B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB30B5
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB30B5#FFFFFF#000000##FFFFFF
##AB30B51.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060B9
Deuteranopia (green-blind)
#4B6EB2
Tritanopia (blue-blind)
#AF4770
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab30b5;
/* rgb */ color: rgb(171, 48, 181);
/* oklch */ color: oklch(54.9% 0.216 324.7);
Tailwind
colors: {
  custom: {
    50: '#c875cc',
    500: '#ab30b5',
    950: '#000000',
  },
}
SCSS
$custom: #ab30b5;
$custom-light: #c875cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab30b5",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 295.489,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54902,
    "c": 0.21643,
    "h": 324.7
  },
  "luminance": 0.14108
}

Semantic roles & 50–950 ramp

primary
#AB30B5
secondary
#80C77A
accent
#E14652
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AB30B5

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

Preview Lab → · Contrast checker → · Palette generator →

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