#AC45E0#AC45E0

#AC45E0 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.8% C 0.230 H 311.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AC45E0
RGBrgb(172, 69, 224)
HSLhsl(280, 71%, 57%)
HSVhsv(280, 69%, 88%)
CMYKcmyk(23.2%, 69.2%, 0%, 12.2%)
CIE-LABlab(49.99, 65.54, -60.74)
CIE-LCHlch(49.99, 89.36, 317.17°)
OKLaboklab(59.78% 0.1539 -0.1716)
OKLCHoklch(59.78% 0.23 311.9)
XYZxyz(32.5935, 18.4096, 72.3430)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45E0 #79E045
analogous
#5E45E0 #AC45E0 #E045C7
triadic
#AC45E0 #E0AC45 #45E0AC
tetradic
#AC45E0 #E05E45 #79E045 #45C7E0
square
#AC45E0 #E05E45 #79E045 #45C7E0
split-complementary
#AC45E0 #C7E045 #45E05E
monochromatic
#691892 #8F21C7 #AC45E0 #C379E9 #DBAEF1

Accessibility & contrast

On white

4.49
#AC45E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#AC45E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC45E0
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45E0#FFFFFF#000000##000000
##AC45E01.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E5
Deuteranopia (green-blind)
#3379DD
Tritanopia (blue-blind)
#A6668E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ac45e0;
/* rgb */ color: rgb(172, 69, 224);
/* oklch */ color: oklch(59.8% 0.230 311.9);
Tailwind
colors: {
  custom: {
    50: '#c981ea',
    500: '#ac45e0',
    950: '#000000',
  },
}
SCSS
$custom: #ac45e0;
$custom-light: #c981ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45e0",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 224
  },
  "hsl": {
    "h": 279.871,
    "s": 71.429,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59777,
    "c": 0.23045,
    "h": 311.9
  },
  "luminance": 0.18409
}

Semantic roles & 50–950 ramp

primary
#AC45E0
secondary
#B6E0A1
accent
#EE3A76
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AC45E0

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

Preview Lab → · Contrast checker → · Palette generator →

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