#AB3ED2#AB3ED2

#AB3ED2 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.0% C 0.225 H 315.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AB3ED2
RGBrgb(171, 62, 210)
HSLhsl(284, 62%, 53%)
HSVhsv(284, 70%, 82%)
CMYKcmyk(18.6%, 70.5%, 0%, 17.6%)
CIE-LABlab(47.95, 65.33, -56.05)
CIE-LCHlch(47.95, 86.08, 319.38°)
OKLaboklab(58.01% 0.1611 -0.1578)
OKLCHoklch(58.01% 0.225 315.6)
XYZxyz(30.1482, 16.7574, 62.6067)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3ED2 #65D23E
analogous
#613ED2 #AB3ED2 #D23EAF
triadic
#AB3ED2 #D2AB3E #3ED2AB
tetradic
#AB3ED2 #D2613E #65D23E #3EAFD2
square
#AB3ED2 #D2613E #65D23E #3EAFD2
split-complementary
#AB3ED2 #AFD23E #3ED261
monochromatic
#611C79 #8828AB #AB3ED2 #C170DE #D6A1E9

Accessibility & contrast

On white

4.83
#AB3ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#AB3ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3ED2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3ED2#FFFFFF#000000##FFFFFF
##AB3ED21.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#3B75CF
Tritanopia (blue-blind)
#A85C84
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab3ed2;
/* rgb */ color: rgb(171, 62, 210);
/* oklch */ color: oklch(58.0% 0.225 315.6);
Tailwind
colors: {
  custom: {
    50: '#c87de0',
    500: '#ab3ed2',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ed2;
$custom-light: #c87de0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ed2",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 210
  },
  "hsl": {
    "h": 284.189,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5801,
    "c": 0.22547,
    "h": 315.6
  },
  "luminance": 0.16756
}

Semantic roles & 50–950 ramp

primary
#AB3ED2
secondary
#A7D696
accent
#E5436D
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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