#AB5DF4#AB5DF4

#AB5DF4 is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.8% C 0.220 H 304.7°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AB5DF4
RGBrgb(171, 93, 244)
HSLhsl(271, 87%, 66%)
HSVhsv(271, 62%, 96%)
CMYKcmyk(29.9%, 61.9%, 0%, 4.3%)
CIE-LABlab(55.09, 58.77, -63.77)
CIE-LCHlch(55.09, 86.72, 312.66°)
OKLaboklab(63.82% 0.125 -0.1806)
OKLCHoklch(63.82% 0.22 304.7)
XYZxyz(37.0345, 23.0185, 88.0624)
Luminance0.2302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5DF4 #A6F45D
analogous
#5F5DF4 #AB5DF4 #F45DF2
triadic
#AB5DF4 #F4AB5D #5DF4AB
tetradic
#AB5DF4 #F45F5D #A6F45D #5DF2F4
square
#AB5DF4 #F45F5D #A6F45D #5DF2F4
split-complementary
#AB5DF4 #F2F45D #5DF45F
monochromatic
#6E0EC9 #8D24F0 #AB5DF4 #C996F8 #E6D0FC

Accessibility & contrast

On white

3.75
#AB5DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#AB5DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5DF4
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5DF4#FFFFFF#000000##000000
##AB5DF41.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F9
Deuteranopia (green-blind)
#3784F1
Tritanopia (blue-blind)
#9E7DA0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ab5df4;
/* rgb */ color: rgb(171, 93, 244);
/* oklch */ color: oklch(63.8% 0.220 304.7);
Tailwind
colors: {
  custom: {
    50: '#c88ff9',
    500: '#ab5df4',
    950: '#000000',
  },
}
SCSS
$custom: #ab5df4;
$custom-light: #c88ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5df4",
  "rgb": {
    "r": 171,
    "g": 93,
    "b": 244
  },
  "hsl": {
    "h": 270.993,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63824,
    "c": 0.21964,
    "h": 304.7
  },
  "luminance": 0.23018
}

Semantic roles & 50–950 ramp

primary
#AB5DF4
secondary
#D6EFBE
accent
#E4026F
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AB5DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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