#AB46DE#AB46DE

#AB46DE is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.6% C 0.227 H 312.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AB46DE
RGBrgb(171, 70, 222)
HSLhsl(280, 70%, 57%)
HSVhsv(280, 68%, 87%)
CMYKcmyk(23%, 68.5%, 0%, 12.9%)
CIE-LABlab(49.87, 64.50, -59.80)
CIE-LCHlch(49.87, 87.96, 317.17°)
OKLaboklab(59.62% 0.1518 -0.1688)
OKLCHoklch(59.62% 0.227 312)
XYZxyz(32.1671, 18.3130, 70.9333)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB46DE #79DE46
analogous
#5F46DE #AB46DE #DE46C5
triadic
#AB46DE #DEAB46 #46DEAB
tetradic
#AB46DE #DE5F46 #79DE46 #46C5DE
square
#AB46DE #DE5F46 #79DE46 #46C5DE
split-complementary
#AB46DE #C5DE46 #46DE5F
monochromatic
#681A90 #8E23C4 #AB46DE #C37AE7 #DAAEF1

Accessibility & contrast

On white

4.50
#AB46DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#AB46DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB46DE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB46DE#FFFFFF#000000##000000
##AB46DE1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E2
Deuteranopia (green-blind)
#3579DB
Tritanopia (blue-blind)
#A5668D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab46de;
/* rgb */ color: rgb(171, 70, 222);
/* oklch */ color: oklch(59.6% 0.227 312.0);
Tailwind
colors: {
  custom: {
    50: '#c881e9',
    500: '#ab46de',
    950: '#000000',
  },
}
SCSS
$custom: #ab46de;
$custom-light: #c881e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab46de",
  "rgb": {
    "r": 171,
    "g": 70,
    "b": 222
  },
  "hsl": {
    "h": 279.868,
    "s": 69.725,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59625,
    "c": 0.22704,
    "h": 312
  },
  "luminance": 0.18312
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB46DE

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

Preview Lab → · Contrast checker → · Palette generator →

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