#AB3FA8#AB3FA8

#AB3FA8 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.6% C 0.187 H 328.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AB3FA8
RGBrgb(171, 63, 168)
HSLhsl(302, 46%, 46%)
HSVhsv(302, 63%, 67%)
CMYKcmyk(0%, 63.2%, 1.8%, 32.9%)
CIE-LABlab(45.69, 57.16, -35.17)
CIE-LCHlch(45.69, 67.11, 328.39°)
OKLaboklab(55.61% 0.1605 -0.0969)
OKLCHoklch(55.61% 0.187 328.9)
XYZxyz(25.6397, 15.0418, 38.5911)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FA8 #3FAB42
analogous
#783FAB #AB3FA8 #AB3F72
triadic
#AB3FA8 #A8AB3F #3FA8AB
tetradic
#AB3FA8 #AB783F #3FAB42 #3F72AB
square
#AB3FA8 #AB783F #3FAB42 #3F72AB
split-complementary
#AB3FA8 #72AB3F #3FAB78
monochromatic
#521E50 #7E2F7C #AB3FA8 #C562C2 #D68FD4

Accessibility & contrast

On white

5.24
#AB3FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#AB3FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3FA8
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3FA8#FFFFFF#000000##FFFFFF
##AB3FA81.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3463AB
Deuteranopia (green-blind)
#5A71A5
Tritanopia (blue-blind)
#B14C6E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab3fa8;
/* rgb */ color: rgb(171, 63, 168);
/* oklch */ color: oklch(55.6% 0.187 328.9);
Tailwind
colors: {
  custom: {
    50: '#c77cc2',
    500: '#ab3fa8',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fa8;
$custom-light: #c77cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fa8",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 301.667,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55609,
    "c": 0.18748,
    "h": 328.9
  },
  "luminance": 0.1504
}

Semantic roles & 50–950 ramp

primary
#AB3FA8
secondary
#85C187
accent
#D65652
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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