#AB3ED6#AB3ED6

#AB3ED6 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.3% C 0.229 H 314.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AB3ED6
RGBrgb(171, 62, 214)
HSLhsl(283, 65%, 54%)
HSVhsv(283, 71%, 84%)
CMYKcmyk(20.1%, 71%, 0%, 16.1%)
CIE-LABlab(48.21, 66.12, -57.93)
CIE-LCHlch(48.21, 87.91, 318.78°)
OKLaboklab(58.27% 0.1607 -0.1633)
OKLCHoklch(58.27% 0.229 314.5)
XYZxyz(30.6528, 16.9593, 65.2641)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3ED6 #69D63E
analogous
#5F3ED6 #AB3ED6 #D63EB5
triadic
#AB3ED6 #D6AB3E #3ED6AB
tetradic
#AB3ED6 #D65F3E #69D63E #3EB5D6
square
#AB3ED6 #D65F3E #69D63E #3EB5D6
split-complementary
#AB3ED6 #B5D63E #3ED65F
monochromatic
#621B7F #8A26B1 #AB3ED6 #C170E1 #D7A3EB

Accessibility & contrast

On white

4.78
#AB3ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AB3ED6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3ED6
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3ED6#FFFFFF#000000##FFFFFF
##AB3ED61.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDA
Deuteranopia (green-blind)
#3775D3
Tritanopia (blue-blind)
#A75E86
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab3ed6;
/* rgb */ color: rgb(171, 62, 214);
/* oklch */ color: oklch(58.3% 0.229 314.5);
Tailwind
colors: {
  custom: {
    50: '#c87de3',
    500: '#ab3ed6',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ed6;
$custom-light: #c87de3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ed6",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 214
  },
  "hsl": {
    "h": 283.026,
    "s": 64.957,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58274,
    "c": 0.22908,
    "h": 314.5
  },
  "luminance": 0.16958
}

Semantic roles & 50–950 ramp

primary
#AB3ED6
secondary
#AAD898
accent
#E8406F
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AB3ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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