#AB61E4#AB61E4

#AB61E4 is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.4% C 0.197 H 307.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AB61E4
RGBrgb(171, 97, 228)
HSLhsl(274, 71%, 64%)
HSVhsv(274, 57%, 89%)
CMYKcmyk(25%, 57.5%, 0%, 10.6%)
CIE-LABlab(54.88, 53.12, -55.16)
CIE-LCHlch(54.88, 76.59, 313.92°)
OKLaboklab(63.36% 0.1206 -0.1554)
OKLCHoklch(63.36% 0.197 307.8)
XYZxyz(35.0700, 22.8092, 75.9389)
Luminance0.2281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB61E4 #9AE461
analogous
#6961E4 #AB61E4 #E461DB
triadic
#AB61E4 #E4AB61 #61E4AB
tetradic
#AB61E4 #E46961 #9AE461 #61DBE4
square
#AB61E4 #E46961 #9AE461 #61DBE4
split-complementary
#AB61E4 #DBE461 #61E469
monochromatic
#6F1EAD #8F2DDB #AB61E4 #C795ED #E3CAF6

Accessibility & contrast

On white

3.78
#AB61E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#AB61E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB61E4
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB61E4#FFFFFF#000000##000000
##AB61E41.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F80E8
Deuteranopia (green-blind)
#4E84E1
Tritanopia (blue-blind)
#A27A99
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab61e4;
/* rgb */ color: rgb(171, 97, 228);
/* oklch */ color: oklch(63.4% 0.197 307.8);
Tailwind
colors: {
  custom: {
    50: '#c791ed',
    500: '#ab61e4',
    950: '#000000',
  },
}
SCSS
$custom: #ab61e4;
$custom-light: #c791ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ab61e4",
  "rgb": {
    "r": 171,
    "g": 97,
    "b": 228
  },
  "hsl": {
    "h": 273.893,
    "s": 70.811,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63359,
    "c": 0.19665,
    "h": 307.8
  },
  "luminance": 0.22809
}

Semantic roles & 50–950 ramp

primary
#AB61E4
secondary
#CDE7B9
accent
#D31366
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB61E4

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

Preview Lab → · Contrast checker → · Palette generator →

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