#AB0FFF#AB0FFF

#AB0FFF is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 58.6% C 0.295 H 307.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AB0FFF
RGBrgb(171, 15, 255)
HSLhsl(279, 100%, 53%)
HSVhsv(279, 94%, 100%)
CMYKcmyk(32.9%, 94.1%, 0%, 0%)
CIE-LABlab(47.26, 85.74, -82.62)
CIE-LCHlch(47.26, 119.07, 316.06°)
OKLaboklab(58.56% 0.1783 -0.2356)
OKLCHoklch(58.56% 0.295 307.1)
XYZxyz(35.0114, 16.2200, 95.8747)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB0FFF #63FF0F
analogous
#330FFF #AB0FFF #FF0FDB
triadic
#AB0FFF #FFAB0F #0FFFAB
tetradic
#AB0FFF #FF330F #63FF0F #0FDBFF
square
#AB0FFF #FF330F #63FF0F #0FDBFF
split-complementary
#AB0FFF #DBFF0F #0FFF33
monochromatic
#600094 #8800D1 #AB0FFF #C04CFF #D689FF

Accessibility & contrast

On white

4.95
#AB0FFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AB0FFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB0FFF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB0FFF#FFFFFF#000000##FFFFFF
##AB0FFF1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CFF
Deuteranopia (green-blind)
#0071FB
Tritanopia (blue-blind)
#9C6197
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab0fff;
/* rgb */ color: rgb(171, 15, 255);
/* oklch */ color: oklch(58.6% 0.295 307.1);
Tailwind
colors: {
  custom: {
    50: '#cc70ff',
    500: '#ab0fff',
    950: '#000000',
  },
}
SCSS
$custom: #ab0fff;
$custom-light: #cc70ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab0fff",
  "rgb": {
    "r": 171,
    "g": 15,
    "b": 255
  },
  "hsl": {
    "h": 279,
    "s": 100,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58558,
    "c": 0.2954,
    "h": 307.1
  },
  "luminance": 0.1622
}

Semantic roles & 50–950 ramp

primary
#AB0FFF
secondary
#A5E981
accent
#FF2974
background
#FDF7FF
surface
#FAEDFF
border
#D3C8D7
text
#150918
muted
#837B86

Preview Lab

Preview with #AB0FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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