#AB5FF8#AB5FF8

#AB5FF8 is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 64.3% C 0.221 H 303.6°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#AB5FF8
RGBrgb(171, 95, 248)
HSLhsl(270, 92%, 67%)
HSVhsv(270, 62%, 97%)
CMYKcmyk(31%, 61.7%, 0%, 2.7%)
CIE-LABlab(55.70, 58.71, -65.00)
CIE-LCHlch(55.70, 87.59, 312.09°)
OKLaboklab(64.35% 0.1225 -0.1842)
OKLCHoklch(64.35% 0.221 303.6)
XYZxyz(37.8262, 23.6197, 91.3550)
Luminance0.2362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5FF8 #ACF85F
analogous
#5F60F8 #AB5FF8 #F85FF8
triadic
#AB5FF8 #F8AB5F #5FF8AB
tetradic
#AB5FF8 #F85F60 #ACF85F #5FF8F8
square
#AB5FF8 #F85F60 #ACF85F #5FF8F8
split-complementary
#AB5FF8 #F8F85F #60F85F
monochromatic
#6E09D3 #8C24F5 #AB5FF8 #CA9AFB #E9D4FD

Accessibility & contrast

On white

3.67
#AB5FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#AB5FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5FF8
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5FF8#FFFFFF#000000##000000
##AB5FF81.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FD
Deuteranopia (green-blind)
#3485F5
Tritanopia (blue-blind)
#9C7FA3
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ab5ff8;
/* rgb */ color: rgb(171, 95, 248);
/* oklch */ color: oklch(64.3% 0.221 303.6);
Tailwind
colors: {
  custom: {
    50: '#c990fb',
    500: '#ab5ff8',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ff8;
$custom-light: #c990fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ff8",
  "rgb": {
    "r": 171,
    "g": 95,
    "b": 248
  },
  "hsl": {
    "h": 269.804,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64349,
    "c": 0.22126,
    "h": 303.6
  },
  "luminance": 0.2362
}

Semantic roles & 50–950 ramp

primary
#AB5FF8
secondary
#DAF2C1
accent
#E60073
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AB5FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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