#AB3FCA#AB3FCA

#AB3FCA is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.6% C 0.217 H 317.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AB3FCA
RGBrgb(171, 63, 202)
HSLhsl(287, 57%, 52%)
HSVhsv(287, 69%, 79%)
CMYKcmyk(15.3%, 68.8%, 0%, 20.8%)
CIE-LABlab(47.60, 63.38, -52.02)
CIE-LCHlch(47.60, 81.99, 320.62°)
OKLaboklab(57.6% 0.1607 -0.146)
OKLCHoklch(57.6% 0.217 317.7)
XYZxyz(29.2312, 16.4785, 57.5066)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FCA #5ECA3F
analogous
#663FCA #AB3FCA #CA3FA3
triadic
#AB3FCA #CAAB3F #3FCAAB
tetradic
#AB3FCA #CA663F #5ECA3F #3FA3CA
square
#AB3FCA #CA663F #5ECA3F #3FA3CA
split-complementary
#AB3FCA #A3CA3F #3FCA66
monochromatic
#5E1F70 #862CA0 #AB3FCA #C06FD7 #D59FE4

Accessibility & contrast

On white

4.89
#AB3FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AB3FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3FCA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3FCA#FFFFFF#000000##FFFFFF
##AB3FCA1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#4474C7
Tritanopia (blue-blind)
#AA5A80
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab3fca;
/* rgb */ color: rgb(171, 63, 202);
/* oklch */ color: oklch(57.6% 0.217 317.7);
Tailwind
colors: {
  custom: {
    50: '#c87ddb',
    500: '#ab3fca',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fca;
$custom-light: #c87ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fca",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 286.619,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57596,
    "c": 0.21708,
    "h": 317.7
  },
  "luminance": 0.16477
}

Semantic roles & 50–950 ramp

primary
#AB3FCA
secondary
#A2D194
accent
#E0486A
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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