#AB5AFF#AB5AFF

#AB5AFF is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 64.2% C 0.235 H 302.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AB5AFF
RGBrgb(171, 90, 255)
HSLhsl(269, 100%, 68%)
HSVhsv(269, 65%, 100%)
CMYKcmyk(32.9%, 64.7%, 0%, 0%)
CIE-LABlab(55.27, 62.75, -69.59)
CIE-LCHlch(55.27, 93.71, 312.04°)
OKLaboklab(64.18% 0.1275 -0.1977)
OKLCHoklch(64.18% 0.235 302.8)
XYZxyz(38.4966, 23.1902, 97.0364)
Luminance0.2319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5AFF #AEFF5A
analogous
#5A5BFF #AB5AFF #FE5AFF
triadic
#AB5AFF #FFAB5A #5AFFAB
tetradic
#AB5AFF #FF5A5B #AEFF5A #5AFFFE
square
#AB5AFF #FF5A5B #AEFF5A #5AFFFE
split-complementary
#AB5AFF #FFFE5A #5BFF5A
monochromatic
#6D00DF #8C1DFF #AB5AFF #CA97FF #E9D4FF

Accessibility & contrast

On white

3.72
#AB5AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#AB5AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5AFF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5AFF#FFFFFF#000000##000000
##AB5AFF1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#1984FB
Tritanopia (blue-blind)
#9A7FA5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ab5aff;
/* rgb */ color: rgb(171, 90, 255);
/* oklch */ color: oklch(64.2% 0.235 302.8);
Tailwind
colors: {
  custom: {
    50: '#c98dff',
    500: '#ab5aff',
    950: '#000000',
  },
}
SCSS
$custom: #ab5aff;
$custom-light: #c98dff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5aff",
  "rgb": {
    "r": 171,
    "g": 90,
    "b": 255
  },
  "hsl": {
    "h": 269.455,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64176,
    "c": 0.23523,
    "h": 302.8
  },
  "luminance": 0.2319
}

Semantic roles & 50–950 ramp

primary
#AB5AFF
secondary
#DBF4C1
accent
#E60075
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140D18
muted
#827D86

Preview Lab

Preview with #AB5AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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