#AB61DD#AB61DD

#AB61DD is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.9% C 0.189 H 309.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AB61DD
RGBrgb(171, 97, 221)
HSLhsl(276, 65%, 62%)
HSVhsv(276, 56%, 87%)
CMYKcmyk(22.6%, 56.1%, 0%, 13.3%)
CIE-LABlab(54.48, 51.56, -51.86)
CIE-LCHlch(54.48, 73.13, 314.84°)
OKLaboklab(62.94% 0.1204 -0.1457)
OKLCHoklch(62.94% 0.189 309.6)
XYZxyz(34.1179, 22.4284, 70.9244)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB61DD #93DD61
analogous
#6D61DD #AB61DD #DD61D1
triadic
#AB61DD #DDAB61 #61DDAB
tetradic
#AB61DD #DD6D61 #93DD61 #61D1DD
square
#AB61DD #DD6D61 #93DD61 #61D1DD
split-complementary
#AB61DD #D1DD61 #61DD6D
monochromatic
#6E23A1 #902FD2 #AB61DD #C693E8 #E1C6F3

Accessibility & contrast

On white

3.83
#AB61DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#AB61DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB61DD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB61DD#FFFFFF#000000##000000
##AB61DD1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#387FE1
Deuteranopia (green-blind)
#5483DA
Tritanopia (blue-blind)
#A47796
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab61dd;
/* rgb */ color: rgb(171, 97, 221);
/* oklch */ color: oklch(62.9% 0.189 309.6);
Tailwind
colors: {
  custom: {
    50: '#c791e8',
    500: '#ab61dd',
    950: '#000000',
  },
}
SCSS
$custom: #ab61dd;
$custom-light: #c791e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab61dd",
  "rgb": {
    "r": 171,
    "g": 97,
    "b": 221
  },
  "hsl": {
    "h": 275.806,
    "s": 64.583,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62941,
    "c": 0.18899,
    "h": 309.6
  },
  "luminance": 0.22428
}

Semantic roles & 50–950 ramp

primary
#AB61DD
secondary
#C9E4B6
accent
#CC1961
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB61DD

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

Preview Lab → · Contrast checker → · Palette generator →

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