#AB3FB2#AB3FB2

#AB3FB2 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 56.2% C 0.196 H 325.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AB3FB2
RGBrgb(171, 63, 178)
HSLhsl(296, 48%, 47%)
HSVhsv(296, 65%, 70%)
CMYKcmyk(3.9%, 64.6%, 0%, 30.2%)
CIE-LABlab(46.22, 58.91, -40.24)
CIE-LCHlch(46.22, 71.34, 325.66°)
OKLaboklab(56.16% 0.161 -0.1116)
OKLCHoklch(56.16% 0.196 325.3)
XYZxyz(26.6074, 15.4289, 43.6875)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FB2 #46B23F
analogous
#723FB2 #AB3FB2 #B23F7F
triadic
#AB3FB2 #B2AB3F #3FB2AB
tetradic
#AB3FB2 #B2723F #46B23F #3F7FB2
square
#AB3FB2 #B2723F #46B23F #3F7FB2
split-complementary
#AB3FB2 #7FB23F #3FB272
monochromatic
#541F58 #802F85 #AB3FB2 #C366C9 #D493D9

Accessibility & contrast

On white

5.14
#AB3FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#AB3FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3FB2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3FB2#FFFFFF#000000##FFFFFF
##AB3FB21.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A65B5
Deuteranopia (green-blind)
#5572AF
Tritanopia (blue-blind)
#AF5073
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab3fb2;
/* rgb */ color: rgb(171, 63, 178);
/* oklch */ color: oklch(56.2% 0.196 325.3);
Tailwind
colors: {
  custom: {
    50: '#c77cc9',
    500: '#ab3fb2',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fb2;
$custom-light: #c77cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fb2",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 296.348,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56159,
    "c": 0.19593,
    "h": 325.3
  },
  "luminance": 0.15427
}

Semantic roles & 50–950 ramp

primary
#AB3FB2
secondary
#8CC489
accent
#D75059
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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