#AB3FAF#AB3FAF

#AB3FAF is a mid, vivid purple. Relative luminance 0.153; OKLCH L 56.0% C 0.193 H 326.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AB3FAF
RGBrgb(171, 63, 175)
HSLhsl(298, 47%, 47%)
HSVhsv(298, 64%, 69%)
CMYKcmyk(2.3%, 64%, 0%, 31.4%)
CIE-LABlab(46.06, 58.38, -38.73)
CIE-LCHlch(46.06, 70.06, 326.44°)
OKLaboklab(55.99% 0.1609 -0.1072)
OKLCHoklch(55.99% 0.193 326.3)
XYZxyz(26.3095, 15.3097, 42.1185)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FAF #43AF3F
analogous
#733FAF #AB3FAF #AF3F7B
triadic
#AB3FAF #AFAB3F #3FAFAB
tetradic
#AB3FAF #AF733F #43AF3F #3F7BAF
square
#AB3FAF #AF733F #43AF3F #3F7BAF
split-complementary
#AB3FAF #7BAF3F #3FAF73
monochromatic
#531F55 #7F2F82 #AB3FAF #C464C7 #D591D7

Accessibility & contrast

On white

5.17
#AB3FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AB3FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3FAF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3FAF#FFFFFF#000000##FFFFFF
##AB3FAF1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B2
Deuteranopia (green-blind)
#5772AC
Tritanopia (blue-blind)
#AF4F71
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab3faf;
/* rgb */ color: rgb(171, 63, 175);
/* oklch */ color: oklch(56.0% 0.193 326.3);
Tailwind
colors: {
  custom: {
    50: '#c77cc7',
    500: '#ab3faf',
    950: '#000000',
  },
}
SCSS
$custom: #ab3faf;
$custom-light: #c77cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3faf",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 297.857,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55991,
    "c": 0.19336,
    "h": 326.3
  },
  "luminance": 0.15308
}

Semantic roles & 50–950 ramp

primary
#AB3FAF
secondary
#89C387
accent
#D75156
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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