#AC51FF#AC51FF

#AC51FF is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 63.2% C 0.246 H 304.1°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#AC51FF
RGBrgb(172, 81, 255)
HSLhsl(271, 100%, 66%)
HSVhsv(271, 68%, 100%)
CMYKcmyk(32.5%, 68.2%, 0%, 0%)
CIE-LABlab(53.89, 67.08, -71.81)
CIE-LCHlch(53.89, 98.26, 313.05°)
OKLaboklab(63.22% 0.138 -0.2041)
OKLCHoklch(63.22% 0.246 304.1)
XYZxyz(38.0016, 21.8756, 96.8088)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC51FF #A4FF51
analogous
#5551FF #AC51FF #FF51FB
triadic
#AC51FF #FFAC51 #51FFAC
tetradic
#AC51FF #FF5551 #A4FF51 #51FBFF
square
#AC51FF #FF5551 #A4FF51 #51FBFF
split-complementary
#AC51FF #FBFF51 #51FF55
monochromatic
#7000D6 #8F14FF #AC51FF #C98EFF #E6CBFF

Accessibility & contrast

On white

3.91
#AC51FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#AC51FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC51FF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC51FF#FFFFFF#000000##000000
##AC51FF1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0081FB
Tritanopia (blue-blind)
#9C79A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ac51ff;
/* rgb */ color: rgb(172, 81, 255);
/* oklch */ color: oklch(63.2% 0.246 304.1);
Tailwind
colors: {
  custom: {
    50: '#ca88ff',
    500: '#ac51ff',
    950: '#000000',
  },
}
SCSS
$custom: #ac51ff;
$custom-light: #ca88ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac51ff",
  "rgb": {
    "r": 172,
    "g": 81,
    "b": 255
  },
  "hsl": {
    "h": 271.379,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63219,
    "c": 0.24641,
    "h": 304.1
  },
  "luminance": 0.21876
}

Semantic roles & 50–950 ramp

primary
#AC51FF
secondary
#D5F3B9
accent
#E6006D
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #AC51FF

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

Preview Lab → · Contrast checker → · Palette generator →

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