#AB3BAF#AB3BAF

#AB3BAF is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.6% C 0.199 H 326.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AB3BAF
RGBrgb(171, 59, 175)
HSLhsl(298, 50%, 46%)
HSVhsv(298, 66%, 69%)
CMYKcmyk(2.3%, 66.3%, 0%, 31.4%)
CIE-LABlab(45.47, 60.00, -39.65)
CIE-LCHlch(45.47, 71.92, 326.54°)
OKLaboklab(55.57% 0.1655 -0.1099)
OKLCHoklch(55.57% 0.199 326.4)
XYZxyz(26.0959, 14.8827, 42.0473)
Luminance0.1488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3BAF #3FAF3B
analogous
#713BAF #AB3BAF #AF3B79
triadic
#AB3BAF #AFAB3B #3BAFAB
tetradic
#AB3BAF #AF713B #3FAF3B #3B79AF
square
#AB3BAF #AF713B #3FAF3B #3B79AF
split-complementary
#AB3BAF #79AF3B #3BAF71
monochromatic
#521C53 #7E2C81 #AB3BAF #C55EC9 #D68CD8

Accessibility & contrast

On white

5.28
#AB3BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AB3BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3BAF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3BAF#FFFFFF#000000##FFFFFF
##AB3BAF1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2763B2
Deuteranopia (green-blind)
#5471AC
Tritanopia (blue-blind)
#AF4C70
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab3baf;
/* rgb */ color: rgb(171, 59, 175);
/* oklch */ color: oklch(55.6% 0.199 326.4);
Tailwind
colors: {
  custom: {
    50: '#c77ac7',
    500: '#ab3baf',
    950: '#000000',
  },
}
SCSS
$custom: #ab3baf;
$custom-light: #c77ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3baf",
  "rgb": {
    "r": 171,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 297.931,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5557,
    "c": 0.19862,
    "h": 326.4
  },
  "luminance": 0.14881
}

Semantic roles & 50–950 ramp

primary
#AB3BAF
secondary
#85C383
accent
#D94F53
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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