#AB5FFA#AB5FFA

#AB5FFA is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.5% C 0.223 H 303.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AB5FFA
RGBrgb(171, 95, 250)
HSLhsl(269, 94%, 68%)
HSVhsv(269, 62%, 98%)
CMYKcmyk(31.6%, 62%, 0%, 2%)
CIE-LABlab(55.83, 59.17, -65.91)
CIE-LCHlch(55.83, 88.58, 311.92°)
OKLaboklab(64.48% 0.1224 -0.1869)
OKLCHoklch(64.48% 0.223 303.2)
XYZxyz(38.1382, 23.7445, 92.9979)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5FFA #AEFA5F
analogous
#5F61FA #AB5FFA #F85FFA
triadic
#AB5FFA #FAAB5F #5FFAAB
tetradic
#AB5FFA #FA5F61 #AEFA5F #5FFAF8
square
#AB5FFA #FA5F61 #AEFA5F #5FFAF8
split-complementary
#AB5FFA #FAF85F #61FA5F
monochromatic
#6D07D8 #8C24F8 #AB5FFA #CA9AFC #E9D6FE

Accessibility & contrast

On white

3.65
#AB5FFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#AB5FFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5FFA
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5FFA#FFFFFF#000000##000000
##AB5FFA1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#3185F7
Tritanopia (blue-blind)
#9C80A4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab5ffa;
/* rgb */ color: rgb(171, 95, 250);
/* oklch */ color: oklch(64.5% 0.223 303.2);
Tailwind
colors: {
  custom: {
    50: '#c990fd',
    500: '#ab5ffa',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ffa;
$custom-light: #c990fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ffa",
  "rgb": {
    "r": 171,
    "g": 95,
    "b": 250
  },
  "hsl": {
    "h": 269.419,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6448,
    "c": 0.22342,
    "h": 303.2
  },
  "luminance": 0.23744
}

Semantic roles & 50–950 ramp

primary
#AB5FFA
secondary
#DBF2C2
accent
#E60075
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AB5FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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