#AB46E5#AB46E5

#AB46E5 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 60.1% C 0.234 H 310.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AB46E5
RGBrgb(171, 70, 229)
HSLhsl(278, 75%, 59%)
HSVhsv(278, 69%, 90%)
CMYKcmyk(25.3%, 69.4%, 0%, 10.2%)
CIE-LABlab(50.33, 65.96, -63.03)
CIE-LCHlch(50.33, 91.23, 316.30°)
OKLaboklab(60.1% 0.151 -0.1783)
OKLCHoklch(60.1% 0.234 310.3)
XYZxyz(33.1249, 18.6961, 75.9773)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB46E5 #80E546
analogous
#5B46E5 #AB46E5 #E546CF
triadic
#AB46E5 #E5AB46 #46E5AB
tetradic
#AB46E5 #E55B46 #80E546 #46CFE5
square
#AB46E5 #E55B46 #80E546 #46CFE5
split-complementary
#AB46E5 #CFE546 #46E55B
monochromatic
#6A169B #8F1DD0 #AB46E5 #C37CED #DCB1F4

Accessibility & contrast

On white

4.43
#AB46E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#AB46E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB46E5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB46E5#FFFFFF#000000##000000
##AB46E51.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073EA
Deuteranopia (green-blind)
#2B79E2
Tritanopia (blue-blind)
#A36991
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab46e5;
/* rgb */ color: rgb(171, 70, 229);
/* oklch */ color: oklch(60.1% 0.234 310.3);
Tailwind
colors: {
  custom: {
    50: '#c981ee',
    500: '#ab46e5',
    950: '#000000',
  },
}
SCSS
$custom: #ab46e5;
$custom-light: #c981ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ab46e5",
  "rgb": {
    "r": 171,
    "g": 70,
    "b": 229
  },
  "hsl": {
    "h": 278.113,
    "s": 75.355,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60096,
    "c": 0.23369,
    "h": 310.3
  },
  "luminance": 0.18695
}

Semantic roles & 50–950 ramp

primary
#AB46E5
secondary
#BBE3A4
accent
#F2367A
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB46E5

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

Preview Lab → · Contrast checker → · Palette generator →

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