#AC51E0#AC51E0

#AC51E0 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.1% C 0.215 H 310.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AC51E0
RGBrgb(172, 81, 224)
HSLhsl(278, 70%, 60%)
HSVhsv(278, 64%, 88%)
CMYKcmyk(23.2%, 63.8%, 0%, 12.2%)
CIE-LABlab(51.88, 60.28, -57.70)
CIE-LCHlch(51.88, 83.44, 316.25°)
OKLaboklab(61.13% 0.1409 -0.1627)
OKLCHoklch(61.13% 0.215 310.9)
XYZxyz(33.4077, 20.0381, 72.6144)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC51E0 #85E051
analogous
#6551E0 #AC51E0 #E051CC
triadic
#AC51E0 #E0AC51 #51E0AC
tetradic
#AC51E0 #E06551 #85E051 #51CCE0
square
#AC51E0 #E06551 #85E051 #51CCE0
split-complementary
#AC51E0 #CCE051 #51E065
monochromatic
#6D1C9B #9125CF #AC51E0 #C585E9 #DEB9F3

Accessibility & contrast

On white

4.19
#AC51E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#AC51E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC51E0
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC51E0#FFFFFF#000000##000000
##AC51E01.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E4
Deuteranopia (green-blind)
#417DDD
Tritanopia (blue-blind)
#A56D92
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ac51e0;
/* rgb */ color: rgb(172, 81, 224);
/* oklch */ color: oklch(61.1% 0.215 310.9);
Tailwind
colors: {
  custom: {
    50: '#c987ea',
    500: '#ac51e0',
    950: '#000000',
  },
}
SCSS
$custom: #ac51e0;
$custom-light: #c987ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ac51e0",
  "rgb": {
    "r": 172,
    "g": 81,
    "b": 224
  },
  "hsl": {
    "h": 278.182,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61134,
    "c": 0.21526,
    "h": 310.9
  },
  "luminance": 0.20037
}

Semantic roles & 50–950 ramp

primary
#AC51E0
secondary
#BFE2AB
accent
#ED3B7C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AC51E0

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

Preview Lab → · Contrast checker → · Palette generator →

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