#AC45E1#AC45E1

#AC45E1 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.8% C 0.231 H 311.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AC45E1
RGBrgb(172, 69, 225)
HSLhsl(280, 72%, 58%)
HSVhsv(280, 69%, 88%)
CMYKcmyk(23.6%, 69.3%, 0%, 11.8%)
CIE-LABlab(50.05, 65.74, -61.21)
CIE-LCHlch(50.05, 89.82, 317.05°)
OKLaboklab(59.84% 0.1538 -0.1729)
OKLCHoklch(59.84% 0.231 311.6)
XYZxyz(32.7295, 18.4640, 73.0593)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45E1 #7AE145
analogous
#5E45E1 #AC45E1 #E145C8
triadic
#AC45E1 #E1AC45 #45E1AC
tetradic
#AC45E1 #E15E45 #7AE145 #45C8E1
square
#AC45E1 #E15E45 #7AE145 #45C8E1
split-complementary
#AC45E1 #C8E145 #45E15E
monochromatic
#6A1894 #8F20C8 #AC45E1 #C47AE9 #DBAEF2

Accessibility & contrast

On white

4.48
#AC45E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#AC45E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC45E1
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45E1#FFFFFF#000000##000000
##AC45E11.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#3179DE
Tritanopia (blue-blind)
#A5668E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ac45e1;
/* rgb */ color: rgb(172, 69, 225);
/* oklch */ color: oklch(59.8% 0.231 311.6);
Tailwind
colors: {
  custom: {
    50: '#c981eb',
    500: '#ac45e1',
    950: '#000000',
  },
}
SCSS
$custom: #ac45e1;
$custom-light: #c981eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45e1",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 279.615,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59844,
    "c": 0.23139,
    "h": 311.6
  },
  "luminance": 0.18463
}

Semantic roles & 50–950 ramp

primary
#AC45E1
secondary
#B7E0A2
accent
#EF3977
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AC45E1

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

Preview Lab → · Contrast checker → · Palette generator →

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