#AB30B9#AB30B9

#AB30B9 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.220 H 323.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AB30B9
RGBrgb(171, 48, 185)
HSLhsl(294, 59%, 46%)
HSVhsv(294, 74%, 73%)
CMYKcmyk(7.6%, 74.1%, 0%, 27.5%)
CIE-LABlab(44.63, 65.76, -46.88)
CIE-LCHlch(44.63, 80.76, 324.51°)
OKLaboklab(55.15% 0.1764 -0.1308)
OKLCHoklch(55.15% 0.22 323.4)
XYZxyz(26.6077, 14.2762, 47.2436)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB30B9 #3EB930
analogous
#6730B9 #AB30B9 #B93082
triadic
#AB30B9 #B9AB30 #30B9AB
tetradic
#AB30B9 #B96730 #3EB930 #3082B9
square
#AB30B9 #B96730 #3EB930 #3082B9
split-complementary
#AB30B9 #82B930 #30B967
monochromatic
#511758 #7E2388 #AB30B9 #C654D3 #D684DF

Accessibility & contrast

On white

5.45
#AB30B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#AB30B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB30B9
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB30B9#FFFFFF#000000##FFFFFF
##AB30B91.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BD
Deuteranopia (green-blind)
#486EB6
Tritanopia (blue-blind)
#AE4972
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab30b9;
/* rgb */ color: rgb(171, 48, 185);
/* oklch */ color: oklch(55.1% 0.220 323.4);
Tailwind
colors: {
  custom: {
    50: '#c875cf',
    500: '#ab30b9',
    950: '#000000',
  },
}
SCSS
$custom: #ab30b9;
$custom-light: #c875cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab30b9",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 185
  },
  "hsl": {
    "h": 293.869,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55147,
    "c": 0.21964,
    "h": 323.4
  },
  "luminance": 0.14275
}

Semantic roles & 50–950 ramp

primary
#AB30B9
secondary
#84C97C
accent
#E24656
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AB30B9

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

Preview Lab → · Contrast checker → · Palette generator →

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