#AB5FE4#AB5FE4

#AB5FE4 is a light, vivid violet. Relative luminance 0.224; OKLCH L 63.1% C 0.200 H 308.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AB5FE4
RGBrgb(171, 95, 228)
HSLhsl(274, 71%, 63%)
HSVhsv(274, 58%, 89%)
CMYKcmyk(25%, 58.3%, 0%, 10.6%)
CIE-LABlab(54.50, 54.14, -55.77)
CIE-LCHlch(54.50, 77.73, 314.15°)
OKLaboklab(63.08% 0.123 -0.1571)
OKLCHoklch(63.08% 0.2 308.1)
XYZxyz(34.8876, 22.4443, 75.8780)
Luminance0.2244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5FE4 #98E45F
analogous
#685FE4 #AB5FE4 #E45FDA
triadic
#AB5FE4 #E4AB5F #5FE4AB
tetradic
#AB5FE4 #E4685F #98E45F #5FDAE4
square
#AB5FE4 #E4685F #98E45F #5FDAE4
split-complementary
#AB5FE4 #DAE45F #5FE468
monochromatic
#6E1DAC #902BDB #AB5FE4 #C693ED #E2C8F6

Accessibility & contrast

On white

3.83
#AB5FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#AB5FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5FE4
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5FE4#FFFFFF#000000##000000
##AB5FE41.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7FE8
Deuteranopia (green-blind)
#4B83E1
Tritanopia (blue-blind)
#A37899
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab5fe4;
/* rgb */ color: rgb(171, 95, 228);
/* oklch */ color: oklch(63.1% 0.200 308.1);
Tailwind
colors: {
  custom: {
    50: '#c790ed',
    500: '#ab5fe4',
    950: '#000000',
  },
}
SCSS
$custom: #ab5fe4;
$custom-light: #c790ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5fe4",
  "rgb": {
    "r": 171,
    "g": 95,
    "b": 228
  },
  "hsl": {
    "h": 274.286,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63082,
    "c": 0.19957,
    "h": 308.1
  },
  "luminance": 0.22444
}

Semantic roles & 50–950 ramp

primary
#AB5FE4
secondary
#CCE7B8
accent
#D31265
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB5FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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