#AB5EFD#AB5EFD

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

Color values

HEX#AB5EFD
RGBrgb(171, 94, 253)
HSLhsl(269, 98%, 68%)
HSVhsv(269, 63%, 99%)
CMYKcmyk(32.4%, 62.8%, 0%, 0.8%)
CIE-LABlab(55.84, 60.36, -67.56)
CIE-LCHlch(55.84, 90.59, 311.78°)
OKLaboklab(64.55% 0.1233 -0.1917)
OKLCHoklch(64.55% 0.228 302.8)
XYZxyz(38.5228, 23.7552, 95.4652)
Luminance0.2376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5EFD #B0FD5E
analogous
#5E60FD #AB5EFD #FB5EFD
triadic
#AB5EFD #FDAB5E #5EFDAB
tetradic
#AB5EFD #FD5E60 #B0FD5E #5EFDFB
square
#AB5EFD #FD5E60 #B0FD5E #5EFDFB
split-complementary
#AB5EFD #FDFB5E #60FD5E
monochromatic
#6D03DE #8B22FC #AB5EFD #CB9AFE #EAD7FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB5EFD#FFFFFF#000000##000000
##AB5EFD1.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)
#2985FA
Tritanopia (blue-blind)
#9B80A5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab5efd;
/* rgb */ color: rgb(171, 94, 253);
/* oklch */ color: oklch(64.5% 0.228 302.8);
Tailwind
colors: {
  custom: {
    50: '#c990ff',
    500: '#ab5efd',
    950: '#000000',
  },
}
SCSS
$custom: #ab5efd;
$custom-light: #c990ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5efd",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 253
  },
  "hsl": {
    "h": 269.057,
    "s": 97.546,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64549,
    "c": 0.22797,
    "h": 302.8
  },
  "luminance": 0.23755
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB5EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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