#AC48DF#AC48DF

#AC48DF is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 60.0% C 0.226 H 311.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AC48DF
RGBrgb(172, 72, 223)
HSLhsl(280, 70%, 58%)
HSVhsv(280, 68%, 87%)
CMYKcmyk(22.9%, 67.7%, 0%, 12.5%)
CIE-LABlab(50.37, 64.07, -59.56)
CIE-LCHlch(50.37, 87.47, 317.09°)
OKLaboklab(60.03% 0.1509 -0.1681)
OKLCHoklch(60.03% 0.226 311.9)
XYZxyz(32.6475, 18.7340, 71.6939)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC48DF #7BDF48
analogous
#6048DF #AC48DF #DF48C7
triadic
#AC48DF #DFAC48 #48DFAC
tetradic
#AC48DF #DF6048 #7BDF48 #48C7DF
square
#AC48DF #DF6048 #7BDF48 #48C7DF
split-complementary
#AC48DF #C7DF48 #48DF60
monochromatic
#6A1A93 #9023C7 #AC48DF #C47CE8 #DBB0F1

Accessibility & contrast

On white

4.42
#AC48DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#AC48DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC48DF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC48DF#FFFFFF#000000##000000
##AC48DF1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#387ADC
Tritanopia (blue-blind)
#A6678E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ac48df;
/* rgb */ color: rgb(172, 72, 223);
/* oklch */ color: oklch(60.0% 0.226 311.9);
Tailwind
colors: {
  custom: {
    50: '#c982ea',
    500: '#ac48df',
    950: '#000000',
  },
}
SCSS
$custom: #ac48df;
$custom-light: #c982ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ac48df",
  "rgb": {
    "r": 172,
    "g": 72,
    "b": 223
  },
  "hsl": {
    "h": 279.735,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60032,
    "c": 0.22587,
    "h": 311.9
  },
  "luminance": 0.18733
}

Semantic roles & 50–950 ramp

primary
#AC48DF
secondary
#B8E0A3
accent
#ED3B77
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AC48DF

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

Preview Lab → · Contrast checker → · Palette generator →

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