#AB3DAF#AB3DAF

#AB3DAF is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.8% C 0.196 H 326.4°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AB3DAF
RGBrgb(171, 61, 175)
HSLhsl(298, 48%, 46%)
HSVhsv(298, 65%, 69%)
CMYKcmyk(2.3%, 65.1%, 0%, 31.4%)
CIE-LABlab(45.76, 59.20, -39.20)
CIE-LCHlch(45.76, 71.00, 326.49°)
OKLaboklab(55.78% 0.1632 -0.1086)
OKLCHoklch(55.78% 0.196 326.4)
XYZxyz(26.2007, 15.0922, 42.0822)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3DAF #41AF3D
analogous
#723DAF #AB3DAF #AF3D7A
triadic
#AB3DAF #AFAB3D #3DAFAB
tetradic
#AB3DAF #AF723D #41AF3D #3D7AAF
square
#AB3DAF #AF723D #41AF3D #3D7AAF
split-complementary
#AB3DAF #7AAF3D #3DAF72
monochromatic
#521D54 #7F2D82 #AB3DAF #C461C8 #D58FD8

Accessibility & contrast

On white

5.23
#AB3DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AB3DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3DAF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3DAF#FFFFFF#000000##FFFFFF
##AB3DAF1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A63B2
Deuteranopia (green-blind)
#5671AC
Tritanopia (blue-blind)
#AF4D71
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab3daf;
/* rgb */ color: rgb(171, 61, 175);
/* oklch */ color: oklch(55.8% 0.196 326.4);
Tailwind
colors: {
  custom: {
    50: '#c77bc7',
    500: '#ab3daf',
    950: '#000000',
  },
}
SCSS
$custom: #ab3daf;
$custom-light: #c77bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3daf",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 297.895,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55778,
    "c": 0.19603,
    "h": 326.4
  },
  "luminance": 0.15091
}

Semantic roles & 50–950 ramp

primary
#AB3DAF
secondary
#87C385
accent
#D85055
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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