#AB61EC#AB61EC

#AB61EC is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 63.9% C 0.205 H 305.9°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AB61EC
RGBrgb(171, 97, 236)
HSLhsl(272, 79%, 65%)
HSVhsv(272, 59%, 93%)
CMYKcmyk(27.5%, 58.9%, 0%, 7.5%)
CIE-LABlab(55.34, 54.94, -58.90)
CIE-LCHlch(55.34, 80.55, 313.01°)
OKLaboklab(63.85% 0.1206 -0.1663)
OKLCHoklch(63.85% 0.205 305.9)
XYZxyz(36.2064, 23.2637, 81.9236)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB61EC #A2EC61
analogous
#6561EC #AB61EC #EC61E8
triadic
#AB61EC #ECAB61 #61ECAB
tetradic
#AB61EC #EC6561 #A2EC61 #61E8EC
square
#AB61EC #EC6561 #A2EC61 #61E8EC
split-complementary
#AB61EC #E8EC61 #61EC65
monochromatic
#6F17BC #8E2AE5 #AB61EC #C898F3 #E5CEF9

Accessibility & contrast

On white

3.72
#AB61EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#AB61EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB61EC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB61EC#FFFFFF#000000##000000
##AB61EC1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2282F0
Deuteranopia (green-blind)
#4685E9
Tritanopia (blue-blind)
#A07C9D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ab61ec;
/* rgb */ color: rgb(171, 97, 236);
/* oklch */ color: oklch(63.9% 0.205 305.9);
Tailwind
colors: {
  custom: {
    50: '#c891f3',
    500: '#ab61ec',
    950: '#000000',
  },
}
SCSS
$custom: #ab61ec;
$custom-light: #c891f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab61ec",
  "rgb": {
    "r": 171,
    "g": 97,
    "b": 236
  },
  "hsl": {
    "h": 271.942,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63851,
    "c": 0.20543,
    "h": 305.9
  },
  "luminance": 0.23263
}

Semantic roles & 50–950 ramp

primary
#AB61EC
secondary
#D3ECBD
accent
#DB0B6C
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AB61EC

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

Preview Lab → · Contrast checker → · Palette generator →

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