#AB50E3#AB50E3

#AB50E3 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.1% C 0.219 H 309.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AB50E3
RGBrgb(171, 80, 227)
HSLhsl(277, 72%, 60%)
HSVhsv(277, 65%, 89%)
CMYKcmyk(24.7%, 64.8%, 0%, 11%)
CIE-LABlab(51.77, 61.16, -59.58)
CIE-LCHlch(51.77, 85.38, 315.75°)
OKLaboklab(61.09% 0.1406 -0.1682)
OKLCHoklch(61.09% 0.219 309.9)
XYZxyz(33.5257, 19.9420, 74.7412)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB50E3 #88E350
analogous
#6150E3 #AB50E3 #E350D1
triadic
#AB50E3 #E3AB50 #50E3AB
tetradic
#AB50E3 #E36150 #88E350 #50D1E3
square
#AB50E3 #E36150 #88E350 #50D1E3
split-complementary
#AB50E3 #D1E350 #50E361
monochromatic
#6C199F #9022D4 #AB50E3 #C485EB #DEBAF4

Accessibility & contrast

On white

4.21
#AB50E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#AB50E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB50E3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB50E3#FFFFFF#000000##000000
##AB50E31.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#3B7DE0
Tritanopia (blue-blind)
#A36E93
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ab50e3;
/* rgb */ color: rgb(171, 80, 227);
/* oklch */ color: oklch(61.1% 0.219 309.9);
Tailwind
colors: {
  custom: {
    50: '#c887ed',
    500: '#ab50e3',
    950: '#000000',
  },
}
SCSS
$custom: #ab50e3;
$custom-light: #c887ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ab50e3",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 227
  },
  "hsl": {
    "h": 277.143,
    "s": 72.414,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61088,
    "c": 0.21928,
    "h": 309.9
  },
  "luminance": 0.19941
}

Semantic roles & 50–950 ramp

primary
#AB50E3
secondary
#C1E4AB
accent
#D4115B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AB50E3

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

Preview Lab → · Contrast checker → · Palette generator →

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