#AB3FDD#AB3FDD

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

Color values

HEX#AB3FDD
RGBrgb(171, 63, 221)
HSLhsl(281, 70%, 56%)
HSVhsv(281, 71%, 87%)
CMYKcmyk(22.6%, 71.5%, 0%, 13.3%)
CIE-LABlab(48.80, 67.13, -60.96)
CIE-LCHlch(48.80, 90.68, 317.76°)
OKLaboklab(58.84% 0.1589 -0.1722)
OKLCHoklch(58.84% 0.234 312.7)
XYZxyz(31.6209, 17.4343, 70.0920)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FDD #71DD3F
analogous
#5C3FDD #AB3FDD #DD3FC0
triadic
#AB3FDD #DDAB3F #3FDDAB
tetradic
#AB3FDD #DD5C3F #71DD3F #3FC0DD
square
#AB3FDD #DD5C3F #71DD3F #3FC0DD
split-complementary
#AB3FDD #C0DD3F #3FDD5C
monochromatic
#661889 #8C22BD #AB3FDD #C273E6 #D8A7EF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB3FDD#FFFFFF#000000##FFFFFF
##AB3FDD1.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)
#006FE1
Deuteranopia (green-blind)
#2E76DA
Tritanopia (blue-blind)
#A5628A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab3fdd;
/* rgb */ color: rgb(171, 63, 221);
/* oklch */ color: oklch(58.8% 0.234 312.7);
Tailwind
colors: {
  custom: {
    50: '#c97ee8',
    500: '#ab3fdd',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fdd;
$custom-light: #c97ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fdd",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 221
  },
  "hsl": {
    "h": 281.013,
    "s": 69.912,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58841,
    "c": 0.23431,
    "h": 312.7
  },
  "luminance": 0.17433
}

Semantic roles & 50–950 ramp

primary
#AB3FDD
secondary
#B0DD9B
accent
#ED3B73
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB3FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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