#AC45E6#AC45E6

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

Color values

HEX#AC45E6
RGBrgb(172, 69, 230)
HSLhsl(278, 76%, 59%)
HSVhsv(278, 70%, 90%)
CMYKcmyk(25.2%, 70%, 0%, 9.8%)
CIE-LABlab(50.38, 66.78, -63.50)
CIE-LCHlch(50.38, 92.15, 316.44°)
OKLaboklab(60.18% 0.1532 -0.1797)
OKLCHoklch(60.18% 0.236 310.4)
XYZxyz(33.4215, 18.7408, 76.7043)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45E6 #7FE645
analogous
#5B45E6 #AC45E6 #E645CF
triadic
#AC45E6 #E6AC45 #45E6AC
tetradic
#AC45E6 #E65B45 #7FE645 #45CFE6
square
#AC45E6 #E65B45 #7FE645 #45CFE6
split-complementary
#AC45E6 #CFE645 #45E65B
monochromatic
#6B159C #901CD2 #AC45E6 #C47BED #DCB1F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC45E6#FFFFFF#000000##000000
##AC45E61.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)
#0073EB
Deuteranopia (green-blind)
#297AE3
Tritanopia (blue-blind)
#A46891
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ac45e6;
/* rgb */ color: rgb(172, 69, 230);
/* oklch */ color: oklch(60.2% 0.236 310.4);
Tailwind
colors: {
  custom: {
    50: '#c981ef',
    500: '#ac45e6',
    950: '#000000',
  },
}
SCSS
$custom: #ac45e6;
$custom-light: #c981ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45e6",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 230
  },
  "hsl": {
    "h": 278.385,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60182,
    "c": 0.2361,
    "h": 310.4
  },
  "luminance": 0.1874
}

Semantic roles & 50–950 ramp

primary
#AC45E6
secondary
#BBE3A4
accent
#F33579
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AC45E6

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

Preview Lab → · Contrast checker → · Palette generator →

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