#AC51E9#AC51E9

#AC51E9 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.7% C 0.224 H 308.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AC51E9
RGBrgb(172, 81, 233)
HSLhsl(276, 78%, 62%)
HSVhsv(276, 65%, 91%)
CMYKcmyk(26.2%, 65.2%, 0%, 8.6%)
CIE-LABlab(52.44, 62.21, -61.87)
CIE-LCHlch(52.44, 87.74, 315.16°)
OKLaboklab(61.72% 0.1404 -0.1749)
OKLCHoklch(61.72% 0.224 308.7)
XYZxyz(34.6607, 20.5393, 79.2136)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC51E9 #8EE951
analogous
#6051E9 #AC51E9 #E951DA
triadic
#AC51E9 #E9AC51 #51E9AC
tetradic
#AC51E9 #E96051 #8EE951 #51DAE9
square
#AC51E9 #E96051 #8EE951 #51DAE9
split-complementary
#AC51E9 #DAE951 #51E960
monochromatic
#6E16AA #921CE0 #AC51E9 #C687F0 #E0BEF7

Accessibility & contrast

On white

4.11
#AC51E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#AC51E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC51E9
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC51E9#FFFFFF#000000##000000
##AC51E91.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#367EE6
Tritanopia (blue-blind)
#A37196
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ac51e9;
/* rgb */ color: rgb(172, 81, 233);
/* oklch */ color: oklch(61.7% 0.224 308.7);
Tailwind
colors: {
  custom: {
    50: '#c988f1',
    500: '#ac51e9',
    950: '#000000',
  },
}
SCSS
$custom: #ac51e9;
$custom-light: #c988f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac51e9",
  "rgb": {
    "r": 172,
    "g": 81,
    "b": 233
  },
  "hsl": {
    "h": 275.921,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61717,
    "c": 0.2243,
    "h": 308.7
  },
  "luminance": 0.20539
}

Semantic roles & 50–950 ramp

primary
#AC51E9
secondary
#C5E7AF
accent
#DA0C5E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC51E9

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

Preview Lab → · Contrast checker → · Palette generator →

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