#AB5FFB#AB5FFB

#AB5FFB is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.5% C 0.225 H 303.0°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AB5FFB
RGBrgb(171, 95, 251)
HSLhsl(269, 95%, 68%)
HSVhsv(269, 62%, 98%)
CMYKcmyk(31.9%, 62.2%, 0%, 1.6%)
CIE-LABlab(55.89, 59.40, -66.36)
CIE-LCHlch(55.89, 89.07, 311.83°)
OKLaboklab(64.55% 0.1224 -0.1882)
OKLCHoklch(64.55% 0.225 303)
XYZxyz(38.2954, 23.8074, 93.8259)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5FFB #AFFB5F
analogous
#5F61FB #AB5FFB #F95FFB
triadic
#AB5FFB #FBAB5F #5FFBAB
tetradic
#AB5FFB #FB5F61 #AFFB5F #5FFBF9
square
#AB5FFB #FB5F61 #AFFB5F #5FFBF9
split-complementary
#AB5FFB #FBF95F #61FB5F
monochromatic
#6D05DA #8C23FA #AB5FFB #CA9BFC #EAD6FE

Accessibility & contrast

On white

3.64
#AB5FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#AB5FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5FFB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5FFB#FFFFFF#000000##000000
##AB5FFB1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#2F86F8
Tritanopia (blue-blind)
#9B80A5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab5ffb;
/* rgb */ color: rgb(171, 95, 251);
/* oklch */ color: oklch(64.5% 0.225 303.0);
Tailwind
colors: {
  custom: {
    50: '#c990fd',
    500: '#ab5ffb',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ffb;
$custom-light: #c990fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ffb",
  "rgb": {
    "r": 171,
    "g": 95,
    "b": 251
  },
  "hsl": {
    "h": 269.231,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.64546,
    "c": 0.22451,
    "h": 303
  },
  "luminance": 0.23807
}

Semantic roles & 50–950 ramp

primary
#AB5FFB
secondary
#DCF3C3
accent
#E60076
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AB5FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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