#AB5DF3#AB5DF3

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

Color values

HEX#AB5DF3
RGBrgb(171, 93, 243)
HSLhsl(271, 86%, 66%)
HSVhsv(271, 62%, 95%)
CMYKcmyk(29.6%, 61.7%, 0%, 4.7%)
CIE-LABlab(55.03, 58.54, -63.31)
CIE-LCHlch(55.03, 86.23, 312.76°)
OKLaboklab(63.76% 0.1251 -0.1793)
OKLCHoklch(63.76% 0.219 304.9)
XYZxyz(36.8830, 22.9579, 87.2649)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5DF3 #A5F35D
analogous
#605DF3 #AB5DF3 #F35DF0
triadic
#AB5DF3 #F3AB5D #5DF3AB
tetradic
#AB5DF3 #F3605D #A5F35D #5DF0F3
square
#AB5DF3 #F3605D #A5F35D #5DF0F3
split-complementary
#AB5DF3 #F0F35D #5DF360
monochromatic
#6E0FC7 #8D24EF #AB5DF3 #C996F7 #E6CFFB

Accessibility & contrast

On white

3.76
#AB5DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#AB5DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5DF3
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5DF3#FFFFFF#000000##000000
##AB5DF31.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F8
Deuteranopia (green-blind)
#3884F0
Tritanopia (blue-blind)
#9E7CA0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ab5df3;
/* rgb */ color: rgb(171, 93, 243);
/* oklch */ color: oklch(63.8% 0.219 304.9);
Tailwind
colors: {
  custom: {
    50: '#c88ff8',
    500: '#ab5df3',
    950: '#000000',
  },
}
SCSS
$custom: #ab5df3;
$custom-light: #c88ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5df3",
  "rgb": {
    "r": 171,
    "g": 93,
    "b": 243
  },
  "hsl": {
    "h": 271.2,
    "s": 86.207,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63759,
    "c": 0.21857,
    "h": 304.9
  },
  "luminance": 0.22958
}

Semantic roles & 50–950 ramp

primary
#AB5DF3
secondary
#D5EFBD
accent
#E3036E
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AB5DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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