#AB3DDF#AB3DDF

#AB3DDF is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.8% C 0.238 H 312.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AB3DDF
RGBrgb(171, 61, 223)
HSLhsl(281, 72%, 56%)
HSVhsv(281, 73%, 87%)
CMYKcmyk(23.3%, 72.6%, 0%, 12.5%)
CIE-LABlab(48.67, 68.31, -62.32)
CIE-LCHlch(48.67, 92.46, 317.62°)
OKLaboklab(58.79% 0.1605 -0.1762)
OKLCHoklch(58.79% 0.238 312.3)
XYZxyz(31.7802, 17.3240, 71.4675)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3DDF #71DF3D
analogous
#5A3DDF #AB3DDF #DF3DC2
triadic
#AB3DDF #DFAB3D #3DDFAB
tetradic
#AB3DDF #DF5A3D #71DF3D #3DC2DF
square
#AB3DDF #DF5A3D #71DF3D #3DC2DF
split-complementary
#AB3DDF #C2DF3D #3DDF5A
monochromatic
#66178B #8C20BF #AB3DDF #C272E8 #D8A6F0

Accessibility & contrast

On white

4.70
#AB3DDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AB3DDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3DDF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3DDF#FFFFFF#000000##FFFFFF
##AB3DDF1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE4
Deuteranopia (green-blind)
#2876DC
Tritanopia (blue-blind)
#A5618B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab3ddf;
/* rgb */ color: rgb(171, 61, 223);
/* oklch */ color: oklch(58.8% 0.238 312.3);
Tailwind
colors: {
  custom: {
    50: '#c97dea',
    500: '#ab3ddf',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ddf;
$custom-light: #c97dea;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ddf",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 223
  },
  "hsl": {
    "h": 280.741,
    "s": 71.681,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58786,
    "c": 0.23833,
    "h": 312.3
  },
  "luminance": 0.17323
}

Semantic roles & 50–950 ramp

primary
#AB3DDF
secondary
#B0DE9A
accent
#EE3973
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AB3DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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