#AB5FF1#AB5FF1

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

Color values

HEX#AB5FF1
RGBrgb(171, 95, 241)
HSLhsl(271, 84%, 66%)
HSVhsv(271, 61%, 95%)
CMYKcmyk(29%, 60.6%, 0%, 5.5%)
CIE-LABlab(55.27, 57.09, -61.81)
CIE-LCHlch(55.27, 84.14, 312.73°)
OKLaboklab(63.9% 0.1228 -0.1748)
OKLCHoklch(63.9% 0.214 305.1)
XYZxyz(36.7605, 23.1934, 85.7422)
Luminance0.2319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5FF1 #A5F15F
analogous
#625FF1 #AB5FF1 #F15FEE
triadic
#AB5FF1 #F1AB5F #5FF1AB
tetradic
#AB5FF1 #F1625F #A5F15F #5FEEF1
square
#AB5FF1 #F1625F #A5F15F #5FEEF1
split-complementary
#AB5FF1 #EEF15F #5FF162
monochromatic
#6E11C4 #8D27EC #AB5FF1 #C997F6 #E6D0FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB5FF1#FFFFFF#000000##000000
##AB5FF11.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)
#0782F6
Deuteranopia (green-blind)
#3E85EE
Tritanopia (blue-blind)
#9F7D9F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ab5ff1;
/* rgb */ color: rgb(171, 95, 241);
/* oklch */ color: oklch(63.9% 0.214 305.1);
Tailwind
colors: {
  custom: {
    50: '#c890f6',
    500: '#ab5ff1',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ff1;
$custom-light: #c890f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ff1",
  "rgb": {
    "r": 171,
    "g": 95,
    "b": 241
  },
  "hsl": {
    "h": 271.233,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63895,
    "c": 0.21368,
    "h": 305.1
  },
  "luminance": 0.23193
}

Semantic roles & 50–950 ramp

primary
#AB5FF1
secondary
#D5EEBE
accent
#E0056E
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AB5FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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