#AB50E5#AB50E5

#AB50E5 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.2% C 0.221 H 309.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AB50E5
RGBrgb(171, 80, 229)
HSLhsl(277, 74%, 61%)
HSVhsv(277, 65%, 90%)
CMYKcmyk(25.3%, 65.1%, 0%, 10.2%)
CIE-LABlab(51.90, 61.59, -60.51)
CIE-LCHlch(51.90, 86.34, 315.51°)
OKLaboklab(61.22% 0.1405 -0.171)
OKLCHoklch(61.22% 0.221 309.4)
XYZxyz(33.8033, 20.0530, 76.2034)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB50E5 #8AE550
analogous
#6050E5 #AB50E5 #E550D5
triadic
#AB50E5 #E5AB50 #50E5AB
tetradic
#AB50E5 #E56050 #8AE550 #50D5E5
square
#AB50E5 #E56050 #8AE550 #50D5E5
split-complementary
#AB50E5 #D5E550 #50E560
monochromatic
#6D18A2 #9020D8 #AB50E5 #C585ED #DEBBF5

Accessibility & contrast

On white

4.19
#AB50E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#AB50E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB50E5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB50E5#FFFFFF#000000##000000
##AB50E51.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EA
Deuteranopia (green-blind)
#387DE2
Tritanopia (blue-blind)
#A36F94
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ab50e5;
/* rgb */ color: rgb(171, 80, 229);
/* oklch */ color: oklch(61.2% 0.221 309.4);
Tailwind
colors: {
  custom: {
    50: '#c887ee',
    500: '#ab50e5',
    950: '#000000',
  },
}
SCSS
$custom: #ab50e5;
$custom-light: #c887ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ab50e5",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 229
  },
  "hsl": {
    "h": 276.644,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61218,
    "c": 0.22129,
    "h": 309.4
  },
  "luminance": 0.20052
}

Semantic roles & 50–950 ramp

primary
#AB50E5
secondary
#C2E5AC
accent
#D60F5D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AB50E5

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

Preview Lab → · Contrast checker → · Palette generator →

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