#AB48E6#AB48E6

#AB48E6 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.4% C 0.232 H 309.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AB48E6
RGBrgb(171, 72, 230)
HSLhsl(278, 76%, 59%)
HSVhsv(278, 69%, 90%)
CMYKcmyk(25.7%, 68.7%, 0%, 9.8%)
CIE-LABlab(50.69, 65.33, -63.01)
CIE-LCHlch(50.69, 90.76, 316.04°)
OKLaboklab(60.38% 0.1489 -0.1783)
OKLCHoklch(60.38% 0.232 309.9)
XYZxyz(33.3921, 19.0065, 76.7571)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB48E6 #83E648
analogous
#5C48E6 #AB48E6 #E648D2
triadic
#AB48E6 #E6AB48 #48E6AB
tetradic
#AB48E6 #E65C48 #83E648 #48D2E6
square
#AB48E6 #E65C48 #83E648 #48D2E6
split-complementary
#AB48E6 #D2E648 #48E65C
monochromatic
#6B169E #901DD4 #AB48E6 #C47EED #DCB4F5

Accessibility & contrast

On white

4.37
#AB48E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#AB48E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB48E6
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB48E6#FFFFFF#000000##000000
##AB48E61.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EB
Deuteranopia (green-blind)
#2C7AE3
Tritanopia (blue-blind)
#A36A92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab48e6;
/* rgb */ color: rgb(171, 72, 230);
/* oklch */ color: oklch(60.4% 0.232 309.9);
Tailwind
colors: {
  custom: {
    50: '#c982ef',
    500: '#ab48e6',
    950: '#000000',
  },
}
SCSS
$custom: #ab48e6;
$custom-light: #c982ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ab48e6",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 230
  },
  "hsl": {
    "h": 277.595,
    "s": 75.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60377,
    "c": 0.23227,
    "h": 309.9
  },
  "luminance": 0.19006
}

Semantic roles & 50–950 ramp

primary
#AB48E6
secondary
#BDE4A6
accent
#F3357C
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB48E6

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

Preview Lab → · Contrast checker → · Palette generator →

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