#AB4FDF#AB4FDF

#AB4FDF is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.7% C 0.217 H 311.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AB4FDF
RGBrgb(171, 79, 223)
HSLhsl(278, 69%, 59%)
HSVhsv(278, 65%, 87%)
CMYKcmyk(23.3%, 64.6%, 0%, 12.5%)
CIE-LABlab(51.36, 60.76, -57.98)
CIE-LCHlch(51.36, 83.99, 316.34°)
OKLaboklab(60.71% 0.142 -0.1635)
OKLCHoklch(60.71% 0.217 311)
XYZxyz(32.9073, 19.5784, 71.8432)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4FDF #83DF4F
analogous
#634FDF #AB4FDF #DF4FCB
triadic
#AB4FDF #DFAB4F #4FDFAB
tetradic
#AB4FDF #DF634F #83DF4F #4FCBDF
square
#AB4FDF #DF634F #83DF4F #4FCBDF
split-complementary
#AB4FDF #CBDF4F #4FDF63
monochromatic
#6B1C98 #9025CC #AB4FDF #C483E8 #DCB7F2

Accessibility & contrast

On white

4.27
#AB4FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#AB4FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4FDF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4FDF#FFFFFF#000000##000000
##AB4FDF1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#3E7CDC
Tritanopia (blue-blind)
#A46C90
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab4fdf;
/* rgb */ color: rgb(171, 79, 223);
/* oklch */ color: oklch(60.7% 0.217 311.0);
Tailwind
colors: {
  custom: {
    50: '#c886ea',
    500: '#ab4fdf',
    950: '#000000',
  },
}
SCSS
$custom: #ab4fdf;
$custom-light: #c886ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4fdf",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 278.333,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.6071,
    "c": 0.21659,
    "h": 311
  },
  "luminance": 0.19578
}

Semantic roles & 50–950 ramp

primary
#AB4FDF
secondary
#BDE1A9
accent
#EC3C7B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AB4FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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