#AB4EFF#AB4EFF

#AB4EFF is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.8% C 0.250 H 304.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AB4EFF
RGBrgb(171, 78, 255)
HSLhsl(272, 100%, 65%)
HSVhsv(272, 69%, 100%)
CMYKcmyk(32.9%, 69.4%, 0%, 0%)
CIE-LABlab(53.31, 68.20, -72.77)
CIE-LCHlch(53.31, 99.73, 313.14°)
OKLaboklab(62.77% 0.1396 -0.207)
OKLCHoklch(62.77% 0.25 304)
XYZxyz(37.5648, 21.3268, 96.7258)
Luminance0.2133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4EFF #A2FF4E
analogous
#524EFF #AB4EFF #FF4EFB
triadic
#AB4EFF #FFAB4E #4EFFAB
tetradic
#AB4EFF #FF524E #A2FF4E #4EFBFF
square
#AB4EFF #FF524E #A2FF4E #4EFBFF
split-complementary
#AB4EFF #FBFF4E #4EFF52
monochromatic
#6F00D3 #8E11FF #AB4EFF #C88BFF #E5C8FF

Accessibility & contrast

On white

3.99
#AB4EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#AB4EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4EFF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4EFF#FFFFFF#000000##000000
##AB4EFF1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#007FFB
Tritanopia (blue-blind)
#9B78A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ab4eff;
/* rgb */ color: rgb(171, 78, 255);
/* oklch */ color: oklch(62.8% 0.250 304.0);
Tailwind
colors: {
  custom: {
    50: '#ca87ff',
    500: '#ab4eff',
    950: '#000000',
  },
}
SCSS
$custom: #ab4eff;
$custom-light: #ca87ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4eff",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 255
  },
  "hsl": {
    "h": 271.525,
    "s": 100,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62772,
    "c": 0.24967,
    "h": 304
  },
  "luminance": 0.21327
}

Semantic roles & 50–950 ramp

primary
#AB4EFF
secondary
#D3F2B7
accent
#E6006D
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #AB4EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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