#AB46E0#AB46E0

#AB46E0 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.8% C 0.229 H 311.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AB46E0
RGBrgb(171, 70, 224)
HSLhsl(279, 71%, 58%)
HSVhsv(279, 69%, 88%)
CMYKcmyk(23.7%, 68.8%, 0%, 12.2%)
CIE-LABlab(50.00, 64.92, -60.73)
CIE-LCHlch(50.00, 88.89, 316.91°)
OKLaboklab(59.76% 0.1516 -0.1716)
OKLCHoklch(59.76% 0.229 311.5)
XYZxyz(32.4368, 18.4209, 72.3534)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB46E0 #7BE046
analogous
#5E46E0 #AB46E0 #E046C8
triadic
#AB46E0 #E0AB46 #46E0AB
tetradic
#AB46E0 #E05E46 #7BE046 #46C8E0
square
#AB46E0 #E05E46 #7BE046 #46C8E0
split-complementary
#AB46E0 #C8E046 #46E05E
monochromatic
#691993 #8E21C7 #AB46E0 #C37AE9 #DBAFF2

Accessibility & contrast

On white

4.48
#AB46E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#AB46E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB46E0
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB46E0#FFFFFF#000000##000000
##AB46E01.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E4
Deuteranopia (green-blind)
#3279DD
Tritanopia (blue-blind)
#A4678E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab46e0;
/* rgb */ color: rgb(171, 70, 224);
/* oklch */ color: oklch(59.8% 0.229 311.5);
Tailwind
colors: {
  custom: {
    50: '#c881ea',
    500: '#ab46e0',
    950: '#000000',
  },
}
SCSS
$custom: #ab46e0;
$custom-light: #c881ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ab46e0",
  "rgb": {
    "r": 171,
    "g": 70,
    "b": 224
  },
  "hsl": {
    "h": 279.351,
    "s": 71.296,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59758,
    "c": 0.22894,
    "h": 311.5
  },
  "luminance": 0.1842
}

Semantic roles & 50–950 ramp

primary
#AB46E0
secondary
#B7E0A2
accent
#EE3A78
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB46E0

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

Preview Lab → · Contrast checker → · Palette generator →

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