#AB50FF#AB50FF

#AB50FF is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 63.0% C 0.247 H 303.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AB50FF
RGBrgb(171, 80, 255)
HSLhsl(271, 100%, 66%)
HSVhsv(271, 69%, 100%)
CMYKcmyk(32.9%, 68.6%, 0%, 0%)
CIE-LABlab(53.62, 67.33, -72.26)
CIE-LCHlch(53.62, 98.77, 312.98°)
OKLaboklab(62.99% 0.1377 -0.2055)
OKLCHoklch(62.99% 0.247 303.8)
XYZxyz(37.7091, 21.6153, 96.7739)
Luminance0.2162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB50FF #A4FF50
analogous
#5350FF #AB50FF #FF50FB
triadic
#AB50FF #FFAB50 #50FFAB
tetradic
#AB50FF #FF5350 #A4FF50 #50FBFF
square
#AB50FF #FF5350 #A4FF50 #50FBFF
split-complementary
#AB50FF #FBFF50 #50FF53
monochromatic
#6F00D5 #8E13FF #AB50FF #C88DFF #E6CAFF

Accessibility & contrast

On white

3.95
#AB50FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#AB50FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB50FF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB50FF#FFFFFF#000000##000000
##AB50FF1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0080FB
Tritanopia (blue-blind)
#9B79A2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab50ff;
/* rgb */ color: rgb(171, 80, 255);
/* oklch */ color: oklch(63.0% 0.247 303.8);
Tailwind
colors: {
  custom: {
    50: '#ca88ff',
    500: '#ab50ff',
    950: '#000000',
  },
}
SCSS
$custom: #ab50ff;
$custom-light: #ca88ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab50ff",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 255
  },
  "hsl": {
    "h": 271.2,
    "s": 100,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62994,
    "c": 0.24737,
    "h": 303.8
  },
  "luminance": 0.21615
}

Semantic roles & 50–950 ramp

primary
#AB50FF
secondary
#D4F3B8
accent
#E6006E
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #AB50FF

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

Preview Lab → · Contrast checker → · Palette generator →

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