#AC48E1#AC48E1

#AC48E1 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 60.2% C 0.228 H 311.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AC48E1
RGBrgb(172, 72, 225)
HSLhsl(279, 72%, 58%)
HSVhsv(279, 68%, 88%)
CMYKcmyk(23.6%, 68%, 0%, 11.8%)
CIE-LABlab(50.50, 64.48, -60.48)
CIE-LCHlch(50.50, 88.41, 316.83°)
OKLaboklab(60.16% 0.1507 -0.1708)
OKLCHoklch(60.16% 0.228 311.4)
XYZxyz(32.9187, 18.8424, 73.1224)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC48E1 #7DE148
analogous
#5F48E1 #AC48E1 #E148C9
triadic
#AC48E1 #E1AC48 #48E1AC
tetradic
#AC48E1 #E15F48 #7DE148 #48C9E1
square
#AC48E1 #E15F48 #7DE148 #48C9E1
split-complementary
#AC48E1 #C9E148 #48E15F
monochromatic
#6B1996 #9021CB #AC48E1 #C47DEA #DCB1F2

Accessibility & contrast

On white

4.40
#AC48E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#AC48E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC48E1
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC48E1#FFFFFF#000000##000000
##AC48E11.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#357ADE
Tritanopia (blue-blind)
#A5688F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ac48e1;
/* rgb */ color: rgb(172, 72, 225);
/* oklch */ color: oklch(60.2% 0.228 311.4);
Tailwind
colors: {
  custom: {
    50: '#c982eb',
    500: '#ac48e1',
    950: '#000000',
  },
}
SCSS
$custom: #ac48e1;
$custom-light: #c982eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac48e1",
  "rgb": {
    "r": 172,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 279.216,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60164,
    "c": 0.22778,
    "h": 311.4
  },
  "luminance": 0.18842
}

Semantic roles & 50–950 ramp

primary
#AC48E1
secondary
#B9E1A4
accent
#EF3978
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AC48E1

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

Preview Lab → · Contrast checker → · Palette generator →

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