#AB50E9#AB50E9

#AB50E9 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.5% C 0.225 H 308.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AB50E9
RGBrgb(171, 80, 233)
HSLhsl(276, 78%, 61%)
HSVhsv(276, 66%, 91%)
CMYKcmyk(26.6%, 65.7%, 0%, 8.6%)
CIE-LABlab(52.15, 62.46, -62.35)
CIE-LCHlch(52.15, 88.25, 315.05°)
OKLaboklab(61.48% 0.1402 -0.1764)
OKLCHoklch(61.48% 0.225 308.5)
XYZxyz(34.3682, 20.2790, 79.1787)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB50E9 #8EE950
analogous
#5F50E9 #AB50E9 #E950DB
triadic
#AB50E9 #E9AB50 #50E9AB
tetradic
#AB50E9 #E95F50 #8EE950 #50DBE9
square
#AB50E9 #E95F50 #8EE950 #50DBE9
split-complementary
#AB50E9 #DBE950 #50E95F
monochromatic
#6D15A9 #901CE0 #AB50E9 #C586F0 #DFBDF7

Accessibility & contrast

On white

4.15
#AB50E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#AB50E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB50E9
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB50E9#FFFFFF#000000##000000
##AB50E91.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#337DE6
Tritanopia (blue-blind)
#A27096
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ab50e9;
/* rgb */ color: rgb(171, 80, 233);
/* oklch */ color: oklch(61.5% 0.225 308.5);
Tailwind
colors: {
  custom: {
    50: '#c887f1',
    500: '#ab50e9',
    950: '#000000',
  },
}
SCSS
$custom: #ab50e9;
$custom-light: #c887f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab50e9",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 233
  },
  "hsl": {
    "h": 275.686,
    "s": 77.665,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61482,
    "c": 0.2253,
    "h": 308.5
  },
  "luminance": 0.20278
}

Semantic roles & 50–950 ramp

primary
#AB50E9
secondary
#C5E7AE
accent
#DA0C5F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB50E9

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

Preview Lab → · Contrast checker → · Palette generator →

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