#AB5FDF#AB5FDF

#AB5FDF is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.8% C 0.194 H 309.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AB5FDF
RGBrgb(171, 95, 223)
HSLhsl(276, 67%, 62%)
HSVhsv(276, 57%, 87%)
CMYKcmyk(23.3%, 57.4%, 0%, 12.5%)
CIE-LABlab(54.21, 53.02, -53.42)
CIE-LCHlch(54.21, 75.27, 314.79°)
OKLaboklab(62.78% 0.123 -0.1502)
OKLCHoklch(62.78% 0.194 309.3)
XYZxyz(34.2035, 22.1706, 72.2753)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5FDF #93DF5F
analogous
#6B5FDF #AB5FDF #DF5FD3
triadic
#AB5FDF #DFAB5F #5FDFAB
tetradic
#AB5FDF #DF6B5F #93DF5F #5FD3DF
square
#AB5FDF #DF6B5F #93DF5F #5FD3DF
split-complementary
#AB5FDF #D3DF5F #5FDF6B
monochromatic
#6E21A3 #902CD5 #AB5FDF #C692E9 #E1C5F3

Accessibility & contrast

On white

3.86
#AB5FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#AB5FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5FDF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5FDF#FFFFFF#000000##000000
##AB5FDF1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#317EE3
Deuteranopia (green-blind)
#5083DC
Tritanopia (blue-blind)
#A47796
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab5fdf;
/* rgb */ color: rgb(171, 95, 223);
/* oklch */ color: oklch(62.8% 0.194 309.3);
Tailwind
colors: {
  custom: {
    50: '#c790e9',
    500: '#ab5fdf',
    950: '#000000',
  },
}
SCSS
$custom: #ab5fdf;
$custom-light: #c790e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5fdf",
  "rgb": {
    "r": 171,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 275.625,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62779,
    "c": 0.19415,
    "h": 309.3
  },
  "luminance": 0.2217
}

Semantic roles & 50–950 ramp

primary
#AB5FDF
secondary
#C9E4B6
accent
#CF1762
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB5FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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