#AB30AA#AB30AA

#AB30AA is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.3% C 0.208 H 328.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#AB30AA
RGBrgb(171, 48, 170)
HSLhsl(300, 56%, 43%)
HSVhsv(300, 72%, 67%)
CMYKcmyk(0%, 71.9%, 0.6%, 32.9%)
CIE-LABlab(43.76, 63.21, -39.41)
CIE-LCHlch(43.76, 74.49, 328.06°)
OKLaboklab(54.25% 0.1768 -0.1091)
OKLCHoklch(54.25% 0.208 328.3)
XYZxyz(25.1070, 13.6759, 39.3398)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB30AA #30AB31
analogous
#6E30AB #AB30AA #AB306C
triadic
#AB30AA #AAAB30 #30AAAB
tetradic
#AB30AA #AB6E30 #30AB31 #306CAB
square
#AB30AA #AB6E30 #30AB31 #306CAB
split-complementary
#AB30AA #6CAB30 #30AB6E
monochromatic
#4B154B #7B237A #AB30AA #CD4CCC #DA7BD9

Accessibility & contrast

On white

5.62
#AB30AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AB30AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB30AA
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB30AA#FFFFFF#000000##FFFFFF
##AB30AA1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5DAD
Deuteranopia (green-blind)
#526DA7
Tritanopia (blue-blind)
#B1426A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab30aa;
/* rgb */ color: rgb(171, 48, 170);
/* oklch */ color: oklch(54.3% 0.208 328.3);
Tailwind
colors: {
  custom: {
    50: '#c875c4',
    500: '#ab30aa',
    950: '#000000',
  },
}
SCSS
$custom: #ab30aa;
$custom-light: #c875c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab30aa",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 300.488,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54254,
    "c": 0.20773,
    "h": 328.3
  },
  "luminance": 0.13674
}

Semantic roles & 50–950 ramp

primary
#AB30AA
secondary
#74C375
accent
#DF4A48
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AB30AA

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

Preview Lab → · Contrast checker → · Palette generator →

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