#AB46DF#AB46DF

#AB46DF is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.7% C 0.228 H 311.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AB46DF
RGBrgb(171, 70, 223)
HSLhsl(280, 71%, 57%)
HSVhsv(280, 69%, 87%)
CMYKcmyk(23.3%, 68.6%, 0%, 12.5%)
CIE-LABlab(49.94, 64.71, -60.27)
CIE-LCHlch(49.94, 88.43, 317.04°)
OKLaboklab(59.69% 0.1517 -0.1702)
OKLCHoklch(59.69% 0.228 311.7)
XYZxyz(32.3016, 18.3668, 71.6413)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB46DF #7ADF46
analogous
#5F46DF #AB46DF #DF46C6
triadic
#AB46DF #DFAB46 #46DFAB
tetradic
#AB46DF #DF5F46 #7ADF46 #46C6DF
square
#AB46DF #DF5F46 #7ADF46 #46C6DF
split-complementary
#AB46DF #C6DF46 #46DF5F
monochromatic
#691991 #8E22C6 #AB46DF #C37AE8 #DAAEF1

Accessibility & contrast

On white

4.49
#AB46DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#AB46DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB46DF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB46DF#FFFFFF#000000##000000
##AB46DF1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#3479DC
Tritanopia (blue-blind)
#A5668E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab46df;
/* rgb */ color: rgb(171, 70, 223);
/* oklch */ color: oklch(59.7% 0.228 311.7);
Tailwind
colors: {
  custom: {
    50: '#c881ea',
    500: '#ab46df',
    950: '#000000',
  },
}
SCSS
$custom: #ab46df;
$custom-light: #c881ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ab46df",
  "rgb": {
    "r": 171,
    "g": 70,
    "b": 223
  },
  "hsl": {
    "h": 279.608,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59692,
    "c": 0.22799,
    "h": 311.7
  },
  "luminance": 0.18366
}

Semantic roles & 50–950 ramp

primary
#AB46DF
secondary
#B7DFA2
accent
#ED3B77
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB46DF

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

Preview Lab → · Contrast checker → · Palette generator →

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