#AB3EDF#AB3EDF

#AB3EDF is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.9% C 0.237 H 312.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AB3EDF
RGBrgb(171, 62, 223)
HSLhsl(281, 72%, 56%)
HSVhsv(281, 72%, 87%)
CMYKcmyk(23.3%, 72.2%, 0%, 12.5%)
CIE-LABlab(48.80, 67.92, -62.10)
CIE-LCHlch(48.80, 92.04, 317.56°)
OKLaboklab(58.88% 0.1596 -0.1756)
OKLCHoklch(58.88% 0.237 312.3)
XYZxyz(31.8341, 17.4318, 71.4855)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3EDF #72DF3E
analogous
#5A3EDF #AB3EDF #DF3EC3
triadic
#AB3EDF #DFAB3E #3EDFAB
tetradic
#AB3EDF #DF5A3E #72DF3E #3EC3DF
square
#AB3EDF #DF5A3E #72DF3E #3EC3DF
split-complementary
#AB3EDF #C3DF3E #3EDF5A
monochromatic
#66178B #8C20C0 #AB3EDF #C272E8 #D9A7F0

Accessibility & contrast

On white

4.68
#AB3EDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#AB3EDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3EDF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3EDF#FFFFFF#000000##FFFFFF
##AB3EDF1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE4
Deuteranopia (green-blind)
#2A76DC
Tritanopia (blue-blind)
#A5628B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab3edf;
/* rgb */ color: rgb(171, 62, 223);
/* oklch */ color: oklch(58.9% 0.237 312.3);
Tailwind
colors: {
  custom: {
    50: '#c97dea',
    500: '#ab3edf',
    950: '#000000',
  },
}
SCSS
$custom: #ab3edf;
$custom-light: #c97dea;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3edf",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 223
  },
  "hsl": {
    "h": 280.621,
    "s": 71.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58881,
    "c": 0.23723,
    "h": 312.3
  },
  "luminance": 0.17431
}

Semantic roles & 50–950 ramp

primary
#AB3EDF
secondary
#B1DE9B
accent
#EE3A74
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AB3EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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