#AB30B0#AB30B0

#AB30B0 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.6% C 0.212 H 326.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AB30B0
RGBrgb(171, 48, 176)
HSLhsl(298, 57%, 44%)
HSVhsv(298, 73%, 69%)
CMYKcmyk(2.8%, 72.7%, 0%, 31%)
CIE-LABlab(44.10, 64.21, -42.42)
CIE-LCHlch(44.10, 76.96, 326.55°)
OKLaboklab(54.6% 0.1768 -0.1178)
OKLCHoklch(54.6% 0.212 326.3)
XYZxyz(25.6875, 13.9082, 42.3974)
Luminance0.1391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB30B0 #35B030
analogous
#6B30B0 #AB30B0 #B03075
triadic
#AB30B0 #B0AB30 #30B0AB
tetradic
#AB30B0 #B06B30 #35B030 #3075B0
square
#AB30B0 #B06B30 #35B030 #3075B0
split-complementary
#AB30B0 #75B030 #30B06B
monochromatic
#4E1650 #7C2380 #AB30B0 #CA4ECF #D87EDC

Accessibility & contrast

On white

5.55
#AB30B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AB30B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB30B0
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB30B0#FFFFFF#000000##FFFFFF
##AB30B01.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5EB4
Deuteranopia (green-blind)
#4E6EAD
Tritanopia (blue-blind)
#AF456D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab30b0;
/* rgb */ color: rgb(171, 48, 176);
/* oklch */ color: oklch(54.6% 0.212 326.3);
Tailwind
colors: {
  custom: {
    50: '#c875c8',
    500: '#ab30b0',
    950: '#000000',
  },
}
SCSS
$custom: #ab30b0;
$custom-light: #c875c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab30b0",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 176
  },
  "hsl": {
    "h": 297.656,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54603,
    "c": 0.21244,
    "h": 326.3
  },
  "luminance": 0.13906
}

Semantic roles & 50–950 ramp

primary
#AB30B0
secondary
#7AC577
accent
#E0474D
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB30B0

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

Preview Lab → · Contrast checker → · Palette generator →

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