#AC48E4#AC48E4

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

Color values

HEX#AC48E4
RGBrgb(172, 72, 228)
HSLhsl(278, 74%, 59%)
HSVhsv(278, 68%, 89%)
CMYKcmyk(24.6%, 68.4%, 0%, 10.6%)
CIE-LABlab(50.70, 65.11, -61.87)
CIE-LCHlch(50.70, 89.82, 316.46°)
OKLaboklab(60.36% 0.1504 -0.1749)
OKLCHoklch(60.36% 0.231 310.7)
XYZxyz(33.3315, 19.0076, 75.2967)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC48E4 #80E448
analogous
#5E48E4 #AC48E4 #E448CE
triadic
#AC48E4 #E4AC48 #48E4AC
tetradic
#AC48E4 #E45E48 #80E448 #48CEE4
square
#AC48E4 #E45E48 #80E448 #48CEE4
split-complementary
#AC48E4 #CEE448 #48E45E
monochromatic
#6B179B #901FD0 #AC48E4 #C47DEC #DCB3F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC48E4#FFFFFF#000000##000000
##AC48E41.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)
#0074E9
Deuteranopia (green-blind)
#317AE1
Tritanopia (blue-blind)
#A56991
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ac48e4;
/* rgb */ color: rgb(172, 72, 228);
/* oklch */ color: oklch(60.4% 0.231 310.7);
Tailwind
colors: {
  custom: {
    50: '#c982ed',
    500: '#ac48e4',
    950: '#000000',
  },
}
SCSS
$custom: #ac48e4;
$custom-light: #c982ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ac48e4",
  "rgb": {
    "r": 172,
    "g": 72,
    "b": 228
  },
  "hsl": {
    "h": 278.462,
    "s": 74.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60364,
    "c": 0.23065,
    "h": 310.7
  },
  "luminance": 0.19007
}

Semantic roles & 50–950 ramp

primary
#AC48E4
secondary
#BBE3A5
accent
#F1377A
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AC48E4

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

Preview Lab → · Contrast checker → · Palette generator →

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