#AB3DE6#AB3DE6

#AB3DE6 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 59.3% C 0.245 H 310.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AB3DE6
RGBrgb(171, 61, 230)
HSLhsl(279, 77%, 57%)
HSVhsv(279, 73%, 90%)
CMYKcmyk(25.7%, 73.5%, 0%, 9.8%)
CIE-LABlab(49.14, 69.73, -65.52)
CIE-LCHlch(49.14, 95.68, 316.78°)
OKLaboklab(59.27% 0.1594 -0.1856)
OKLCHoklch(59.27% 0.245 310.7)
XYZxyz(32.7435, 17.7094, 76.5409)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3DE6 #78E63D
analogous
#563DE6 #AB3DE6 #E63DCD
triadic
#AB3DE6 #E6AB3D #3DE6AB
tetradic
#AB3DE6 #E6563D #78E63D #3DCDE6
square
#AB3DE6 #E6563D #78E63D #3DCDE6
split-complementary
#AB3DE6 #CDE63D #3DE656
monochromatic
#681395 #8E1ACC #AB3DE6 #C273ED #DAA9F4

Accessibility & contrast

On white

4.62
#AB3DE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#AB3DE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3DE6
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3DE6#FFFFFF#000000##FFFFFF
##AB3DE61.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#1877E2
Tritanopia (blue-blind)
#A3648F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab3de6;
/* rgb */ color: rgb(171, 61, 230);
/* oklch */ color: oklch(59.3% 0.245 310.7);
Tailwind
colors: {
  custom: {
    50: '#c97def',
    500: '#ab3de6',
    950: '#000000',
  },
}
SCSS
$custom: #ab3de6;
$custom-light: #c97def;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3de6",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 230
  },
  "hsl": {
    "h": 279.053,
    "s": 77.169,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59274,
    "c": 0.24466,
    "h": 310.7
  },
  "luminance": 0.17709
}

Semantic roles & 50–950 ramp

primary
#AB3DE6
secondary
#B5E29D
accent
#F43477
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140A17
muted
#827C85

Preview Lab

Preview with #AB3DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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