#AB3FBA#AB3FBA

#AB3FBA is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.6% C 0.203 H 322.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AB3FBA
RGBrgb(171, 63, 186)
HSLhsl(293, 49%, 49%)
HSVhsv(293, 66%, 73%)
CMYKcmyk(8.1%, 66.1%, 0%, 27.1%)
CIE-LABlab(46.66, 60.36, -44.23)
CIE-LCHlch(46.66, 74.83, 323.77°)
OKLaboklab(56.62% 0.1612 -0.1232)
OKLCHoklch(56.62% 0.203 322.6)
XYZxyz(27.4341, 15.7596, 48.0417)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FBA #4EBA3F
analogous
#6E3FBA #AB3FBA #BA3F8C
triadic
#AB3FBA #BAAB3F #3FBAAB
tetradic
#AB3FBA #BA6E3F #4EBA3F #3F8CBA
square
#AB3FBA #BA6E3F #4EBA3F #3F8CBA
split-complementary
#AB3FBA #8CBA3F #3FBA6E
monochromatic
#57205F #81308C #AB3FBA #C06ACC #D497DC

Accessibility & contrast

On white

5.06
#AB3FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AB3FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3FBA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3FBA#FFFFFF#000000##FFFFFF
##AB3FBA1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F67BE
Deuteranopia (green-blind)
#5073B7
Tritanopia (blue-blind)
#AD5377
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab3fba;
/* rgb */ color: rgb(171, 63, 186);
/* oklch */ color: oklch(56.6% 0.203 322.6);
Tailwind
colors: {
  custom: {
    50: '#c77ccf',
    500: '#ab3fba',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fba;
$custom-light: #c77ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fba",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 186
  },
  "hsl": {
    "h": 292.683,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56621,
    "c": 0.20288,
    "h": 322.6
  },
  "luminance": 0.15758
}

Semantic roles & 50–950 ramp

primary
#AB3FBA
secondary
#94C88D
accent
#D94F60
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #AB3FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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