#AB5FF0#AB5FF0

#AB5FF0 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.8% C 0.213 H 305.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AB5FF0
RGBrgb(171, 95, 240)
HSLhsl(271, 83%, 66%)
HSVhsv(271, 60%, 94%)
CMYKcmyk(28.8%, 60.4%, 0%, 5.9%)
CIE-LABlab(55.21, 56.86, -61.35)
CIE-LCHlch(55.21, 83.65, 312.83°)
OKLaboklab(63.83% 0.1229 -0.1735)
OKLCHoklch(63.83% 0.213 305.3)
XYZxyz(36.6115, 23.1339, 84.9577)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5FF0 #A4F05F
analogous
#625FF0 #AB5FF0 #F05FED
triadic
#AB5FF0 #F0AB5F #5FF0AB
tetradic
#AB5FF0 #F0625F #A4F05F #5FEDF0
square
#AB5FF0 #F0625F #A4F05F #5FEDF0
split-complementary
#AB5FF0 #EDF05F #5FF062
monochromatic
#6F12C2 #8E27EB #AB5FF0 #C897F5 #E6CFFA

Accessibility & contrast

On white

3.73
#AB5FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#AB5FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5FF0
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5FF0#FFFFFF#000000##000000
##AB5FF01.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D82F5
Deuteranopia (green-blind)
#3F84ED
Tritanopia (blue-blind)
#9F7C9F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ab5ff0;
/* rgb */ color: rgb(171, 95, 240);
/* oklch */ color: oklch(63.8% 0.213 305.3);
Tailwind
colors: {
  custom: {
    50: '#c890f6',
    500: '#ab5ff0',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ff0;
$custom-light: #c890f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ff0",
  "rgb": {
    "r": 171,
    "g": 95,
    "b": 240
  },
  "hsl": {
    "h": 271.448,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63831,
    "c": 0.2126,
    "h": 305.3
  },
  "luminance": 0.23134
}

Semantic roles & 50–950 ramp

primary
#AB5FF0
secondary
#D4EEBD
accent
#DF066E
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AB5FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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