#AB4FDE#AB4FDE

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

Color values

HEX#AB4FDE
RGBrgb(171, 79, 222)
HSLhsl(279, 68%, 59%)
HSVhsv(279, 64%, 87%)
CMYKcmyk(23%, 64.4%, 0%, 12.9%)
CIE-LABlab(51.30, 60.55, -57.52)
CIE-LCHlch(51.30, 83.51, 316.47°)
OKLaboklab(60.65% 0.1421 -0.1622)
OKLCHoklch(60.65% 0.216 311.2)
XYZxyz(32.7729, 19.5246, 71.1353)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4FDE #82DE4F
analogous
#644FDE #AB4FDE #DE4FCA
triadic
#AB4FDE #DEAB4F #4FDEAB
tetradic
#AB4FDE #DE644F #82DE4F #4FCADE
square
#AB4FDE #DE644F #82DE4F #4FCADE
split-complementary
#AB4FDE #CADE4F #4FDE64
monochromatic
#6B1C96 #8F26CA #AB4FDE #C483E8 #DCB6F1

Accessibility & contrast

On white

4.28
#AB4FDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#AB4FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4FDE
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4FDE#FFFFFF#000000##000000
##AB4FDE1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E2
Deuteranopia (green-blind)
#3F7CDB
Tritanopia (blue-blind)
#A56C90
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab4fde;
/* rgb */ color: rgb(171, 79, 222);
/* oklch */ color: oklch(60.6% 0.216 311.2);
Tailwind
colors: {
  custom: {
    50: '#c886e9',
    500: '#ab4fde',
    950: '#000000',
  },
}
SCSS
$custom: #ab4fde;
$custom-light: #c886e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4fde",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 222
  },
  "hsl": {
    "h": 278.601,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60646,
    "c": 0.21559,
    "h": 311.2
  },
  "luminance": 0.19524
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB4FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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