#AB4DE9#AB4DE9

#AB4DE9 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 61.1% C 0.229 H 308.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AB4DE9
RGBrgb(171, 77, 233)
HSLhsl(276, 78%, 61%)
HSVhsv(276, 67%, 91%)
CMYKcmyk(26.6%, 67%, 0%, 8.6%)
CIE-LABlab(51.67, 63.80, -63.13)
CIE-LCHlch(51.67, 89.76, 315.30°)
OKLaboklab(61.13% 0.1434 -0.1786)
OKLCHoklch(61.13% 0.229 308.8)
XYZxyz(34.1535, 19.8495, 79.1071)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4DE9 #8BE94D
analogous
#5D4DE9 #AB4DE9 #E94DD9
triadic
#AB4DE9 #E9AB4D #4DE9AB
tetradic
#AB4DE9 #E95D4D #8BE94D #4DD9E9
square
#AB4DE9 #E95D4D #8BE94D #4DD9E9
split-complementary
#AB4DE9 #D9E94D #4DE95D
monochromatic
#6D15A7 #901BDD #AB4DE9 #C583F0 #DEBAF6

Accessibility & contrast

On white

4.23
#AB4DE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#AB4DE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4DE9
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4DE9#FFFFFF#000000##000000
##AB4DE91.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EE
Deuteranopia (green-blind)
#2E7CE6
Tritanopia (blue-blind)
#A26E95
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ab4de9;
/* rgb */ color: rgb(171, 77, 233);
/* oklch */ color: oklch(61.1% 0.229 308.8);
Tailwind
colors: {
  custom: {
    50: '#c985f1',
    500: '#ab4de9',
    950: '#000000',
  },
}
SCSS
$custom: #ab4de9;
$custom-light: #c985f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4de9",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 233
  },
  "hsl": {
    "h": 276.154,
    "s": 78,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61134,
    "c": 0.22908,
    "h": 308.8
  },
  "luminance": 0.19849
}

Semantic roles & 50–950 ramp

primary
#AB4DE9
secondary
#C3E6AB
accent
#DA0B5E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB4DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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