#AB4FDD#AB4FDD

#AB4FDD is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.6% C 0.215 H 311.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AB4FDD
RGBrgb(171, 79, 221)
HSLhsl(279, 68%, 59%)
HSVhsv(279, 64%, 87%)
CMYKcmyk(22.6%, 64.3%, 0%, 13.3%)
CIE-LABlab(51.23, 60.34, -57.05)
CIE-LCHlch(51.23, 83.03, 316.60°)
OKLaboklab(60.58% 0.1421 -0.1608)
OKLCHoklch(60.58% 0.215 311.5)
XYZxyz(32.6393, 19.4711, 70.4315)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4FDD #81DD4F
analogous
#644FDD #AB4FDD #DD4FC8
triadic
#AB4FDD #DDAB4F #4FDDAB
tetradic
#AB4FDD #DD644F #81DD4F #4FC8DD
square
#AB4FDD #DD644F #81DD4F #4FC8DD
split-complementary
#AB4FDD #C8DD4F #4FDD64
monochromatic
#6B1D95 #8F27C8 #AB4FDD #C382E7 #DCB6F1

Accessibility & contrast

On white

4.29
#AB4FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#AB4FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4FDD
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4FDD#FFFFFF#000000##000000
##AB4FDD1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E1
Deuteranopia (green-blind)
#407CDA
Tritanopia (blue-blind)
#A56B8F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab4fdd;
/* rgb */ color: rgb(171, 79, 221);
/* oklch */ color: oklch(60.6% 0.215 311.5);
Tailwind
colors: {
  custom: {
    50: '#c886e8',
    500: '#ab4fdd',
    950: '#000000',
  },
}
SCSS
$custom: #ab4fdd;
$custom-light: #c886e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4fdd",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 221
  },
  "hsl": {
    "h": 278.873,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60582,
    "c": 0.2146,
    "h": 311.5
  },
  "luminance": 0.1947
}

Semantic roles & 50–950 ramp

primary
#AB4FDD
secondary
#BCE0A8
accent
#EA3D7A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AB4FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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