#AB50E1#AB50E1

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

Color values

HEX#AB50E1
RGBrgb(171, 80, 225)
HSLhsl(278, 71%, 60%)
HSVhsv(278, 64%, 88%)
CMYKcmyk(24%, 64.4%, 0%, 11.8%)
CIE-LABlab(51.65, 60.73, -58.65)
CIE-LCHlch(51.65, 84.43, 316.00°)
OKLaboklab(60.96% 0.1408 -0.1655)
OKLCHoklch(60.96% 0.217 310.4)
XYZxyz(33.2513, 19.8322, 73.2959)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB50E1 #86E150
analogous
#6250E1 #AB50E1 #E150CF
triadic
#AB50E1 #E1AB50 #50E1AB
tetradic
#AB50E1 #E16250 #86E150 #50CFE1
square
#AB50E1 #E16250 #86E150 #50CFE1
split-complementary
#AB50E1 #CFE150 #50E162
monochromatic
#6C1B9C #9024D0 #AB50E1 #C484EA #DDB8F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB50E1#FFFFFF#000000##000000
##AB50E11.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)
#0077E5
Deuteranopia (green-blind)
#3D7DDE
Tritanopia (blue-blind)
#A46D92
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ab50e1;
/* rgb */ color: rgb(171, 80, 225);
/* oklch */ color: oklch(61.0% 0.217 310.4);
Tailwind
colors: {
  custom: {
    50: '#c887eb',
    500: '#ab50e1',
    950: '#000000',
  },
}
SCSS
$custom: #ab50e1;
$custom-light: #c887eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab50e1",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 225
  },
  "hsl": {
    "h": 277.655,
    "s": 70.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60958,
    "c": 0.21727,
    "h": 310.4
  },
  "luminance": 0.19831
}

Semantic roles & 50–950 ramp

primary
#AB50E1
secondary
#BFE2AA
accent
#ED3A7D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AB50E1

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

Preview Lab → · Contrast checker → · Palette generator →

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