#AB3ED4#AB3ED4

#AB3ED4 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.1% C 0.227 H 315.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AB3ED4
RGBrgb(171, 62, 212)
HSLhsl(284, 64%, 54%)
HSVhsv(284, 71%, 83%)
CMYKcmyk(19.3%, 70.8%, 0%, 16.9%)
CIE-LABlab(48.08, 65.73, -56.99)
CIE-LCHlch(48.08, 86.99, 319.07°)
OKLaboklab(58.14% 0.1609 -0.1605)
OKLCHoklch(58.14% 0.227 315.1)
XYZxyz(30.3989, 16.8577, 63.9272)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3ED4 #67D43E
analogous
#603ED4 #AB3ED4 #D43EB2
triadic
#AB3ED4 #D4AB3E #3ED4AB
tetradic
#AB3ED4 #D4603E #67D43E #3EB2D4
square
#AB3ED4 #D4603E #67D43E #3EB2D4
split-complementary
#AB3ED4 #B2D43E #3ED460
monochromatic
#621C7C #8927AE #AB3ED4 #C170DF #D7A2EA

Accessibility & contrast

On white

4.80
#AB3ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#AB3ED4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3ED4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3ED4#FFFFFF#000000##FFFFFF
##AB3ED41.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#3975D1
Tritanopia (blue-blind)
#A85D85
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab3ed4;
/* rgb */ color: rgb(171, 62, 212);
/* oklch */ color: oklch(58.1% 0.227 315.1);
Tailwind
colors: {
  custom: {
    50: '#c87de2',
    500: '#ab3ed4',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ed4;
$custom-light: #c87de2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ed4",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 212
  },
  "hsl": {
    "h": 283.6,
    "s": 63.559,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58141,
    "c": 0.22727,
    "h": 315.1
  },
  "luminance": 0.16857
}

Semantic roles & 50–950 ramp

primary
#AB3ED4
secondary
#A8D797
accent
#E7416E
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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