#AB50E4#AB50E4

#AB50E4 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.2% C 0.220 H 309.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AB50E4
RGBrgb(171, 80, 228)
HSLhsl(277, 73%, 60%)
HSVhsv(277, 65%, 89%)
CMYKcmyk(25%, 64.9%, 0%, 10.6%)
CIE-LABlab(51.83, 61.37, -60.04)
CIE-LCHlch(51.83, 85.86, 315.63°)
OKLaboklab(61.15% 0.1406 -0.1696)
OKLCHoklch(61.15% 0.22 309.7)
XYZxyz(33.6641, 19.9973, 75.4702)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB50E4 #89E450
analogous
#6150E4 #AB50E4 #E450D3
triadic
#AB50E4 #E4AB50 #50E4AB
tetradic
#AB50E4 #E46150 #89E450 #50D3E4
square
#AB50E4 #E46150 #89E450 #50D3E4
split-complementary
#AB50E4 #D3E450 #50E461
monochromatic
#6C19A1 #9021D6 #AB50E4 #C485EC #DEBAF4

Accessibility & contrast

On white

4.20
#AB50E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#AB50E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB50E4
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB50E4#FFFFFF#000000##000000
##AB50E41.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#3A7DE1
Tritanopia (blue-blind)
#A36E93
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ab50e4;
/* rgb */ color: rgb(171, 80, 228);
/* oklch */ color: oklch(61.2% 0.220 309.7);
Tailwind
colors: {
  custom: {
    50: '#c887ed',
    500: '#ab50e4',
    950: '#000000',
  },
}
SCSS
$custom: #ab50e4;
$custom-light: #c887ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ab50e4",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 228
  },
  "hsl": {
    "h": 276.892,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61153,
    "c": 0.22028,
    "h": 309.7
  },
  "luminance": 0.19997
}

Semantic roles & 50–950 ramp

primary
#AB50E4
secondary
#C1E4AC
accent
#D5105C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AB50E4

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

Preview Lab → · Contrast checker → · Palette generator →

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