#AB3FCD#AB3FCD

#AB3FCD is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.8% C 0.220 H 316.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AB3FCD
RGBrgb(171, 63, 205)
HSLhsl(286, 59%, 53%)
HSVhsv(286, 69%, 80%)
CMYKcmyk(16.6%, 69.3%, 0%, 19.6%)
CIE-LABlab(47.78, 63.96, -53.45)
CIE-LCHlch(47.78, 83.35, 320.12°)
OKLaboklab(57.79% 0.1605 -0.1502)
OKLCHoklch(57.79% 0.22 316.9)
XYZxyz(29.5899, 16.6219, 59.3955)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FCD #61CD3F
analogous
#643FCD #AB3FCD #CD3FA8
triadic
#AB3FCD #CDAB3F #3FCDAB
tetradic
#AB3FCD #CD643F #61CD3F #3FA8CD
square
#AB3FCD #CD643F #61CD3F #3FA8CD
split-complementary
#AB3FCD #A8CD3F #3FCD64
monochromatic
#5F1E74 #872BA4 #AB3FCD #C070DA #D5A0E6

Accessibility & contrast

On white

4.86
#AB3FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#AB3FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3FCD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3FCD#FFFFFF#000000##FFFFFF
##AB3FCD1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#4175CA
Tritanopia (blue-blind)
#A95B82
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab3fcd;
/* rgb */ color: rgb(171, 63, 205);
/* oklch */ color: oklch(57.8% 0.220 316.9);
Tailwind
colors: {
  custom: {
    50: '#c87ddd',
    500: '#ab3fcd',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fcd;
$custom-light: #c87ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fcd",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 205
  },
  "hsl": {
    "h": 285.634,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57787,
    "c": 0.21978,
    "h": 316.9
  },
  "luminance": 0.16621
}

Semantic roles & 50–950 ramp

primary
#AB3FCD
secondary
#A4D395
accent
#E2466B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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