#AC48ED#AC48ED

#AC48ED is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 61.0% C 0.239 H 308.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AC48ED
RGBrgb(172, 72, 237)
HSLhsl(276, 82%, 61%)
HSVhsv(276, 70%, 93%)
CMYKcmyk(27.4%, 69.6%, 0%, 7.1%)
CIE-LABlab(51.29, 67.01, -65.98)
CIE-LCHlch(51.29, 94.04, 315.44°)
OKLaboklab(60.98% 0.1493 -0.187)
OKLCHoklch(60.98% 0.239 308.6)
XYZxyz(34.6136, 19.5204, 82.0487)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC48ED #89ED48
analogous
#5948ED #AC48ED #ED48DB
triadic
#AC48ED #EDAC48 #48EDAC
tetradic
#AC48ED #ED5948 #89ED48 #48DBED
square
#AC48ED #ED5948 #89ED48 #48DBED
split-complementary
#AC48ED #DBED48 #48ED59
monochromatic
#6E11AA #9116E2 #AC48ED #C580F2 #DFB7F8

Accessibility & contrast

On white

4.28
#AC48ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#AC48ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC48ED
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC48ED#FFFFFF#000000##000000
##AC48ED1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F2
Deuteranopia (green-blind)
#207BE9
Tritanopia (blue-blind)
#A26D96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ac48ed;
/* rgb */ color: rgb(172, 72, 237);
/* oklch */ color: oklch(61.0% 0.239 308.6);
Tailwind
colors: {
  custom: {
    50: '#ca83f4',
    500: '#ac48ed',
    950: '#000000',
  },
}
SCSS
$custom: #ac48ed;
$custom-light: #ca83f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac48ed",
  "rgb": {
    "r": 172,
    "g": 72,
    "b": 237
  },
  "hsl": {
    "h": 276.364,
    "s": 82.09,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60977,
    "c": 0.23927,
    "h": 308.6
  },
  "luminance": 0.1952
}

Semantic roles & 50–950 ramp

primary
#AC48ED
secondary
#C2E8A9
accent
#DE075C
background
#FCF8FF
surface
#F9EFFE
border
#D2CAD6
text
#140B17
muted
#827C85

Preview Lab

Preview with #AC48ED

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

Preview Lab → · Contrast checker → · Palette generator →

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