#AC8AFF#AC8AFF

#AC8AFF is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.4% C 0.168 H 295.2°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#AC8AFF
RGBrgb(172, 138, 255)
HSLhsl(257, 100%, 77%)
HSVhsv(257, 46%, 100%)
CMYKcmyk(32.5%, 45.9%, 0%, 0%)
CIE-LABlab(65.09, 37.67, -53.84)
CIE-LCHlch(65.09, 65.72, 304.98°)
OKLaboklab(71.44% 0.0714 -0.1515)
OKLCHoklch(71.44% 0.168 295.2)
XYZxyz(44.1472, 34.1669, 98.8573)
Luminance0.3417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8AFF #DDFF8A
analogous
#8AA3FF #AC8AFF #E78AFF
triadic
#AC8AFF #FFAC8A #8AFFAC
tetradic
#AC8AFF #FF8AA3 #DDFF8A #8AFFE7
square
#AC8AFF #FF8AA3 #DDFF8A #8AFFE7
split-complementary
#AC8AFF #FFE78A #A3FF8A
monochromatic
#5510FF #814DFF #AC8AFF #D7C7FF #E9E0FF

Accessibility & contrast

On white

2.68
#AC8AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#AC8AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8AFF
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8AFF#FFFFFF#000000##000000
##AC8AFF1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#639FFF
Deuteranopia (green-blind)
#699CFC
Tritanopia (blue-blind)
#99A0B8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ac8aff;
/* rgb */ color: rgb(172, 138, 255);
/* oklch */ color: oklch(71.4% 0.168 295.2);
Tailwind
colors: {
  custom: {
    50: '#c8acff',
    500: '#ac8aff',
    950: '#000000',
  },
}
SCSS
$custom: #ac8aff;
$custom-light: #c8acff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8aff",
  "rgb": {
    "r": 172,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 257.436,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.71435,
    "c": 0.16752,
    "h": 295.2
  },
  "luminance": 0.34168
}

Semantic roles & 50–950 ramp

primary
#AC8AFF
secondary
#EDF7D4
accent
#E600A3
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AC8AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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