#AB4FD3#AB4FD3

#AB4FD3 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.0% C 0.205 H 314.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AB4FD3
RGBrgb(171, 79, 211)
HSLhsl(282, 60%, 57%)
HSVhsv(282, 63%, 83%)
CMYKcmyk(19%, 62.6%, 0%, 17.3%)
CIE-LABlab(50.63, 58.24, -52.32)
CIE-LCHlch(50.63, 78.29, 318.06°)
OKLaboklab(59.96% 0.1425 -0.1469)
OKLCHoklch(59.96% 0.205 314.1)
XYZxyz(31.3465, 18.9540, 63.6226)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4FD3 #77D34F
analogous
#694FD3 #AB4FD3 #D34FB9
triadic
#AB4FD3 #D3AB4F #4FD3AB
tetradic
#AB4FD3 #D3694F #77D34F #4FB9D3
square
#AB4FD3 #D3694F #77D34F #4FB9D3
split-complementary
#AB4FD3 #B9D34F #4FD369
monochromatic
#682286 #8D2EB7 #AB4FD3 #C280DF #DAB1EB

Accessibility & contrast

On white

4.38
#AB4FD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#AB4FD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4FD3
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4FD3#FFFFFF#000000##000000
##AB4FD31.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B73D7
Deuteranopia (green-blind)
#4A7BD0
Tritanopia (blue-blind)
#A7678A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab4fd3;
/* rgb */ color: rgb(171, 79, 211);
/* oklch */ color: oklch(60.0% 0.205 314.1);
Tailwind
colors: {
  custom: {
    50: '#c786e1',
    500: '#ab4fd3',
    950: '#000000',
  },
}
SCSS
$custom: #ab4fd3;
$custom-light: #c786e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4fd3",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 211
  },
  "hsl": {
    "h": 281.818,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59955,
    "c": 0.20466,
    "h": 314.1
  },
  "luminance": 0.18953
}

Semantic roles & 50–950 ramp

primary
#AB4FD3
secondary
#B4DAA4
accent
#E34575
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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