#AB5DF0#AB5DF0

#AB5DF0 is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.6% C 0.215 H 305.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AB5DF0
RGBrgb(171, 93, 240)
HSLhsl(272, 83%, 65%)
HSVhsv(272, 61%, 94%)
CMYKcmyk(28.8%, 61.2%, 0%, 5.9%)
CIE-LABlab(54.84, 57.85, -61.94)
CIE-LCHlch(54.84, 84.75, 313.05°)
OKLaboklab(63.57% 0.1252 -0.1752)
OKLCHoklch(63.57% 0.215 305.5)
XYZxyz(36.4337, 22.7782, 84.8984)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5DF0 #A2F05D
analogous
#615DF0 #AB5DF0 #F05DEB
triadic
#AB5DF0 #F0AB5D #5DF0AB
tetradic
#AB5DF0 #F0615D #A2F05D #5DEBF0
square
#AB5DF0 #F0615D #A2F05D #5DEBF0
split-complementary
#AB5DF0 #EBF05D #5DF061
monochromatic
#6F12C1 #8E25EB #AB5DF0 #C895F5 #E5CDFA

Accessibility & contrast

On white

3.78
#AB5DF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#AB5DF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5DF0
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5DF0#FFFFFF#000000##000000
##AB5DF01.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F5
Deuteranopia (green-blind)
#3C84ED
Tritanopia (blue-blind)
#9F7B9E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab5df0;
/* rgb */ color: rgb(171, 93, 240);
/* oklch */ color: oklch(63.6% 0.215 305.5);
Tailwind
colors: {
  custom: {
    50: '#c88ff6',
    500: '#ab5df0',
    950: '#000000',
  },
}
SCSS
$custom: #ab5df0;
$custom-light: #c88ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5df0",
  "rgb": {
    "r": 171,
    "g": 93,
    "b": 240
  },
  "hsl": {
    "h": 271.837,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63565,
    "c": 0.21534,
    "h": 305.5
  },
  "luminance": 0.22778
}

Semantic roles & 50–950 ramp

primary
#AB5DF0
secondary
#D3EDBC
accent
#DF066C
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AB5DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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