#AB3FA2#AB3FA2

#AB3FA2 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.3% C 0.183 H 331.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AB3FA2
RGBrgb(171, 63, 162)
HSLhsl(305, 46%, 46%)
HSVhsv(305, 63%, 67%)
CMYKcmyk(0%, 63.2%, 5.3%, 32.9%)
CIE-LABlab(45.39, 56.14, -32.08)
CIE-LCHlch(45.39, 64.66, 330.25°)
OKLaboklab(55.29% 0.1599 -0.088)
OKLCHoklch(55.29% 0.183 331.2)
XYZxyz(25.0936, 14.8234, 35.7149)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FA2 #3FAB48
analogous
#7E3FAB #AB3FA2 #AB3F6C
triadic
#AB3FA2 #A2AB3F #3FA2AB
tetradic
#AB3FA2 #AB7E3F #3FAB48 #3F6CAB
square
#AB3FA2 #AB7E3F #3FAB48 #3F6CAB
split-complementary
#AB3FA2 #6CAB3F #3FAB7E
monochromatic
#521E4D #7E2F78 #AB3FA2 #C562BD #D68FD0

Accessibility & contrast

On white

5.30
#AB3FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AB3FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3FA2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3FA2#FFFFFF#000000##FFFFFF
##AB3FA21.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3962A5
Deuteranopia (green-blind)
#5D719F
Tritanopia (blue-blind)
#B24A6B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab3fa2;
/* rgb */ color: rgb(171, 63, 162);
/* oklch */ color: oklch(55.3% 0.183 331.2);
Tailwind
colors: {
  custom: {
    50: '#c77cbe',
    500: '#ab3fa2',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fa2;
$custom-light: #c77cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fa2",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 305,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55294,
    "c": 0.18256,
    "h": 331.2
  },
  "luminance": 0.14822
}

Semantic roles & 50–950 ramp

primary
#AB3FA2
secondary
#85C18A
accent
#D65D52
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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