#AB46FF#AB46FF

#AB46FF is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.9% C 0.258 H 304.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AB46FF
RGBrgb(171, 70, 255)
HSLhsl(273, 100%, 64%)
HSVhsv(273, 73%, 100%)
CMYKcmyk(32.9%, 72.5%, 0%, 0%)
CIE-LABlab(52.13, 71.53, -74.68)
CIE-LCHlch(52.13, 103.41, 313.76°)
OKLaboklab(61.94% 0.147 -0.2126)
OKLCHoklch(61.94% 0.258 304.7)
XYZxyz(37.0306, 20.2584, 96.5478)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB46FF #9AFF46
analogous
#4E46FF #AB46FF #FF46F6
triadic
#AB46FF #FFAB46 #46FFAB
tetradic
#AB46FF #FF4E46 #9AFF46 #46F6FF
square
#AB46FF #FF4E46 #9AFF46 #46F6FF
split-complementary
#AB46FF #F6FF46 #46FF4E
monochromatic
#6F00CB #8F09FF #AB46FF #C783FF #E3C0FF

Accessibility & contrast

On white

4.16
#AB46FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#AB46FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB46FF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB46FF#FFFFFF#000000##000000
##AB46FF1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#007CFB
Tritanopia (blue-blind)
#9B739F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ab46ff;
/* rgb */ color: rgb(171, 70, 255);
/* oklch */ color: oklch(61.9% 0.258 304.7);
Tailwind
colors: {
  custom: {
    50: '#ca82ff',
    500: '#ab46ff',
    950: '#000000',
  },
}
SCSS
$custom: #ab46ff;
$custom-light: #ca82ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab46ff",
  "rgb": {
    "r": 171,
    "g": 70,
    "b": 255
  },
  "hsl": {
    "h": 272.757,
    "s": 100,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61938,
    "c": 0.25844,
    "h": 304.7
  },
  "luminance": 0.20258
}

Semantic roles & 50–950 ramp

primary
#AB46FF
secondary
#CDF1B0
accent
#E60068
background
#FDF8FF
surface
#FAEFFF
border
#D3CAD7
text
#140B18
muted
#837C86

Preview Lab

Preview with #AB46FF

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

Preview Lab → · Contrast checker → · Palette generator →

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