#AB3ED8#AB3ED8

#AB3ED8 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.4% C 0.231 H 314.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AB3ED8
RGBrgb(171, 62, 216)
HSLhsl(282, 66%, 55%)
HSVhsv(282, 71%, 85%)
CMYKcmyk(20.8%, 71.3%, 0%, 15.3%)
CIE-LABlab(48.34, 66.52, -58.86)
CIE-LCHlch(48.34, 88.82, 318.50°)
OKLaboklab(58.41% 0.1605 -0.166)
OKLCHoklch(58.41% 0.231 314)
XYZxyz(30.9098, 17.0621, 66.6175)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3ED8 #6BD83E
analogous
#5E3ED8 #AB3ED8 #D83EB8
triadic
#AB3ED8 #D8AB3E #3ED8AB
tetradic
#AB3ED8 #D85E3E #6BD83E #3EB8D8
square
#AB3ED8 #D85E3E #6BD83E #3EB8D8
split-complementary
#AB3ED8 #B8D83E #3ED85E
monochromatic
#631A81 #8A24B4 #AB3ED8 #C171E2 #D7A4ED

Accessibility & contrast

On white

4.76
#AB3ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#AB3ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3ED8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3ED8#FFFFFF#000000##FFFFFF
##AB3ED81.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#3475D5
Tritanopia (blue-blind)
#A75F87
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab3ed8;
/* rgb */ color: rgb(171, 62, 216);
/* oklch */ color: oklch(58.4% 0.231 314.0);
Tailwind
colors: {
  custom: {
    50: '#c87de5',
    500: '#ab3ed8',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ed8;
$custom-light: #c87de5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ed8",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 216
  },
  "hsl": {
    "h": 282.468,
    "s": 66.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58407,
    "c": 0.23088,
    "h": 314
  },
  "luminance": 0.17061
}

Semantic roles & 50–950 ramp

primary
#AB3ED8
secondary
#ABD998
accent
#E93E70
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AB3ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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