#AB3ED5#AB3ED5

#AB3ED5 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.2% C 0.228 H 314.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AB3ED5
RGBrgb(171, 62, 213)
HSLhsl(283, 64%, 54%)
HSVhsv(283, 71%, 84%)
CMYKcmyk(19.7%, 70.9%, 0%, 16.5%)
CIE-LABlab(48.14, 65.92, -57.46)
CIE-LCHlch(48.14, 87.45, 318.93°)
OKLaboklab(58.21% 0.1608 -0.1619)
OKLCHoklch(58.21% 0.228 314.8)
XYZxyz(30.5255, 16.9083, 64.5936)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3ED5 #68D53E
analogous
#603ED5 #AB3ED5 #D53EB4
triadic
#AB3ED5 #D5AB3E #3ED5AB
tetradic
#AB3ED5 #D5603E #68D53E #3EB4D5
square
#AB3ED5 #D5603E #68D53E #3EB4D5
split-complementary
#AB3ED5 #B4D53E #3ED560
monochromatic
#621B7D #8926B0 #AB3ED5 #C170E0 #D7A3EB

Accessibility & contrast

On white

4.79
#AB3ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#AB3ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3ED5
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3ED5#FFFFFF#000000##FFFFFF
##AB3ED51.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#3875D2
Tritanopia (blue-blind)
#A75E86
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab3ed5;
/* rgb */ color: rgb(171, 62, 213);
/* oklch */ color: oklch(58.2% 0.228 314.8);
Tailwind
colors: {
  custom: {
    50: '#c87de3',
    500: '#ab3ed5',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ed5;
$custom-light: #c87de3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ed5",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 213
  },
  "hsl": {
    "h": 283.311,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58207,
    "c": 0.22818,
    "h": 314.8
  },
  "luminance": 0.16907
}

Semantic roles & 50–950 ramp

primary
#AB3ED5
secondary
#A9D897
accent
#E7416F
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140A15
muted
#827C84

Preview Lab

Preview with #AB3ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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