#AB46E1#AB46E1

#AB46E1 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.8% C 0.230 H 311.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AB46E1
RGBrgb(171, 70, 225)
HSLhsl(279, 72%, 58%)
HSVhsv(279, 69%, 88%)
CMYKcmyk(24%, 68.9%, 0%, 11.8%)
CIE-LABlab(50.07, 65.12, -61.19)
CIE-LCHlch(50.07, 89.36, 316.78°)
OKLaboklab(59.83% 0.1515 -0.1729)
OKLCHoklch(59.83% 0.23 311.2)
XYZxyz(32.5728, 18.4753, 73.0698)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB46E1 #7CE146
analogous
#5E46E1 #AB46E1 #E146C9
triadic
#AB46E1 #E1AB46 #46E1AB
tetradic
#AB46E1 #E15E46 #7CE146 #46C9E1
square
#AB46E1 #E15E46 #7CE146 #46C9E1
split-complementary
#AB46E1 #C9E146 #46E15E
monochromatic
#691895 #8E21C9 #AB46E1 #C37BEA #DBAFF2

Accessibility & contrast

On white

4.47
#AB46E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#AB46E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB46E1
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB46E1#FFFFFF#000000##000000
##AB46E11.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#3179DE
Tritanopia (blue-blind)
#A4678F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab46e1;
/* rgb */ color: rgb(171, 70, 225);
/* oklch */ color: oklch(59.8% 0.230 311.2);
Tailwind
colors: {
  custom: {
    50: '#c881eb',
    500: '#ab46e1',
    950: '#000000',
  },
}
SCSS
$custom: #ab46e1;
$custom-light: #c881eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab46e1",
  "rgb": {
    "r": 171,
    "g": 70,
    "b": 225
  },
  "hsl": {
    "h": 279.097,
    "s": 72.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59825,
    "c": 0.22989,
    "h": 311.2
  },
  "luminance": 0.18474
}

Semantic roles & 50–950 ramp

primary
#AB46E1
secondary
#B8E0A2
accent
#EF3978
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB46E1

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

Preview Lab → · Contrast checker → · Palette generator →

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