#AB4FE3#AB4FE3

#AB4FE3 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 61.0% C 0.221 H 310.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AB4FE3
RGBrgb(171, 79, 227)
HSLhsl(277, 73%, 60%)
HSVhsv(277, 65%, 89%)
CMYKcmyk(24.7%, 65.2%, 0%, 11%)
CIE-LABlab(51.61, 61.62, -59.84)
CIE-LCHlch(51.61, 85.89, 315.84°)
OKLaboklab(60.97% 0.1417 -0.169)
OKLCHoklch(60.97% 0.221 310)
XYZxyz(33.4530, 19.7966, 74.7170)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4FE3 #87E34F
analogous
#614FE3 #AB4FE3 #E34FD1
triadic
#AB4FE3 #E3AB4F #4FE3AB
tetradic
#AB4FE3 #E3614F #87E34F #4FD1E3
square
#AB4FE3 #E3614F #87E34F #4FD1E3
split-complementary
#AB4FE3 #D1E34F #4FE361
monochromatic
#6C199E #9022D3 #AB4FE3 #C484EB #DDB9F4

Accessibility & contrast

On white

4.23
#AB4FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#AB4FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4FE3
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4FE3#FFFFFF#000000##000000
##AB4FE31.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#3A7CE0
Tritanopia (blue-blind)
#A36D92
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ab4fe3;
/* rgb */ color: rgb(171, 79, 227);
/* oklch */ color: oklch(61.0% 0.221 310.0);
Tailwind
colors: {
  custom: {
    50: '#c886ed',
    500: '#ab4fe3',
    950: '#000000',
  },
}
SCSS
$custom: #ab4fe3;
$custom-light: #c886ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4fe3",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 277.297,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.60969,
    "c": 0.22058,
    "h": 310
  },
  "luminance": 0.19796
}

Semantic roles & 50–950 ramp

primary
#AB4FE3
secondary
#C0E3AA
accent
#EF397E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AB4FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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