#AB30C9#AB30C9

#AB30C9 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.2% C 0.233 H 318.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AB30C9
RGBrgb(171, 48, 201)
HSLhsl(288, 61%, 49%)
HSVhsv(288, 76%, 79%)
CMYKcmyk(14.9%, 76.1%, 0%, 21.2%)
CIE-LABlab(45.62, 68.63, -54.61)
CIE-LCHlch(45.62, 87.71, 321.49°)
OKLaboklab(56.17% 0.175 -0.1535)
OKLCHoklch(56.17% 0.233 318.7)
XYZxyz(28.3927, 14.9902, 56.6449)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB30C9 #4EC930
analogous
#5F30C9 #AB30C9 #C9309B
triadic
#AB30C9 #C9AB30 #30C9AB
tetradic
#AB30C9 #C95F30 #4EC930 #309BC9
square
#AB30C9 #C95F30 #4EC930 #309BC9
split-complementary
#AB30C9 #9BC930 #30C95F
monochromatic
#571866 #812498 #AB30C9 #C05ED8 #D48FE4

Accessibility & contrast

On white

5.25
#AB30C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#AB30C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB30C9
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB30C9#FFFFFF#000000##FFFFFF
##AB30C91.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CD
Deuteranopia (green-blind)
#3A70C6
Tritanopia (blue-blind)
#AB517C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab30c9;
/* rgb */ color: rgb(171, 48, 201);
/* oklch */ color: oklch(56.2% 0.233 318.7);
Tailwind
colors: {
  custom: {
    50: '#c876da',
    500: '#ab30c9',
    950: '#000000',
  },
}
SCSS
$custom: #ab30c9;
$custom-light: #c876da;
$custom-dark: #000000;
JSON
{
  "hex": "#ab30c9",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 201
  },
  "hsl": {
    "h": 288.235,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5617,
    "c": 0.23274,
    "h": 318.7
  },
  "luminance": 0.14989
}

Semantic roles & 50–950 ramp

primary
#AB30C9
secondary
#94CF86
accent
#E54363
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140915
muted
#827B83

Preview Lab

Preview with #AB30C9

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

Preview Lab → · Contrast checker → · Palette generator →

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