#AB61EB#AB61EB

#AB61EB is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 63.8% C 0.204 H 306.2°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AB61EB
RGBrgb(171, 97, 235)
HSLhsl(272, 78%, 65%)
HSVhsv(272, 59%, 92%)
CMYKcmyk(27.2%, 58.7%, 0%, 7.8%)
CIE-LABlab(55.28, 54.71, -58.44)
CIE-LCHlch(55.28, 80.05, 313.11°)
OKLaboklab(63.79% 0.1206 -0.165)
OKLCHoklch(63.79% 0.204 306.2)
XYZxyz(36.0615, 23.2058, 81.1606)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB61EB #A1EB61
analogous
#6661EB #AB61EB #EB61E6
triadic
#AB61EB #EBAB61 #61EBAB
tetradic
#AB61EB #EB6661 #A1EB61 #61E6EB
square
#AB61EB #EB6661 #A1EB61 #61E6EB
split-complementary
#AB61EB #E6EB61 #61EB66
monochromatic
#6F18BA #8E2BE4 #AB61EB #C897F2 #E5CEF9

Accessibility & contrast

On white

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

On black

5.64
#AB61EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB61EB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB61EB#FFFFFF#000000##000000
##AB61EB1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2482EF
Deuteranopia (green-blind)
#4785E8
Tritanopia (blue-blind)
#A07C9D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ab61eb;
/* rgb */ color: rgb(171, 97, 235);
/* oklch */ color: oklch(63.8% 0.204 306.2);
Tailwind
colors: {
  custom: {
    50: '#c891f2',
    500: '#ab61eb',
    950: '#000000',
  },
}
SCSS
$custom: #ab61eb;
$custom-light: #c891f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab61eb",
  "rgb": {
    "r": 171,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 272.174,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63789,
    "c": 0.20433,
    "h": 306.2
  },
  "luminance": 0.23205
}

Semantic roles & 50–950 ramp

primary
#AB61EB
secondary
#D2EBBD
accent
#DA0C6B
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AB61EB

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

Preview Lab → · Contrast checker → · Palette generator →

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