#AC5AFF#AC5AFF

#AC5AFF is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 64.3% C 0.235 H 303.2°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AC5AFF
RGBrgb(172, 90, 255)
HSLhsl(270, 100%, 68%)
HSVhsv(270, 65%, 100%)
CMYKcmyk(32.5%, 64.7%, 0%, 0%)
CIE-LABlab(55.38, 62.95, -69.40)
CIE-LCHlch(55.38, 93.70, 312.21°)
OKLaboklab(64.29% 0.1288 -0.1971)
OKLCHoklch(64.29% 0.235 303.2)
XYZxyz(38.7153, 23.3030, 97.0467)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5AFF #ADFF5A
analogous
#5A5BFF #AC5AFF #FE5AFF
triadic
#AC5AFF #FFAC5A #5AFFAC
tetradic
#AC5AFF #FF5A5B #ADFF5A #5AFFFE
square
#AC5AFF #FF5A5B #ADFF5A #5AFFFE
split-complementary
#AC5AFF #FFFE5A #5BFF5A
monochromatic
#6F00DF #8D1DFF #AC5AFF #CB97FF #EAD4FF

Accessibility & contrast

On white

3.71
#AC5AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#AC5AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5AFF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5AFF#FFFFFF#000000##000000
##AC5AFF1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#1C84FB
Tritanopia (blue-blind)
#9C7EA5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ac5aff;
/* rgb */ color: rgb(172, 90, 255);
/* oklch */ color: oklch(64.3% 0.235 303.2);
Tailwind
colors: {
  custom: {
    50: '#ca8dff',
    500: '#ac5aff',
    950: '#000000',
  },
}
SCSS
$custom: #ac5aff;
$custom-light: #ca8dff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5aff",
  "rgb": {
    "r": 172,
    "g": 90,
    "b": 255
  },
  "hsl": {
    "h": 269.818,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64285,
    "c": 0.23544,
    "h": 303.2
  },
  "luminance": 0.23303
}

Semantic roles & 50–950 ramp

primary
#AC5AFF
secondary
#DBF4C1
accent
#E60073
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140D18
muted
#827D86

Preview Lab

Preview with #AC5AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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