#AB5ED6#AB5ED6

#AB5ED6 is a light, vivid violet. Relative luminance 0.215; OKLCH L 62.1% C 0.186 H 311.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AB5ED6
RGBrgb(171, 94, 214)
HSLhsl(279, 59%, 60%)
HSVhsv(279, 56%, 84%)
CMYKcmyk(20.1%, 56.1%, 0%, 16.1%)
CIE-LABlab(53.51, 51.56, -49.43)
CIE-LCHlch(53.51, 71.43, 316.21°)
OKLaboklab(62.11% 0.1239 -0.1386)
OKLCHoklch(62.11% 0.186 311.8)
XYZxyz(32.9327, 21.5191, 66.0240)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5ED6 #89D65E
analogous
#6F5ED6 #AB5ED6 #D65EC5
triadic
#AB5ED6 #D6AB5E #5ED6AB
tetradic
#AB5ED6 #D66F5E #89D65E #5EC5D6
square
#AB5ED6 #D66F5E #89D65E #5EC5D6
split-complementary
#AB5ED6 #C5D65E #5ED66F
monochromatic
#6C2694 #9032C5 #AB5ED6 #C48FE2 #DEC0EF

Accessibility & contrast

On white

3.96
#AB5ED6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#AB5ED6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5ED6
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5ED6#FFFFFF#000000##000000
##AB5ED61.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7CDA
Deuteranopia (green-blind)
#5681D3
Tritanopia (blue-blind)
#A67391
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab5ed6;
/* rgb */ color: rgb(171, 94, 214);
/* oklch */ color: oklch(62.1% 0.186 311.8);
Tailwind
colors: {
  custom: {
    50: '#c78fe3',
    500: '#ab5ed6',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ed6;
$custom-light: #c78fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ed6",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 214
  },
  "hsl": {
    "h": 278.5,
    "s": 59.406,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62108,
    "c": 0.18593,
    "h": 311.8
  },
  "luminance": 0.21518
}

Semantic roles & 50–950 ramp

primary
#AB5ED6
secondary
#C1DFB1
accent
#C71E5B
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D15
muted
#827D84

Preview Lab

Preview with #AB5ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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