#AC8AEF#AC8AEF

#AC8AEF is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.6% C 0.147 H 298.1°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#AC8AEF
RGBrgb(172, 138, 239)
HSLhsl(260, 76%, 74%)
HSVhsv(260, 42%, 94%)
CMYKcmyk(28%, 42.3%, 0%, 6.3%)
CIE-LABlab(64.31, 33.72, -46.31)
CIE-LCHlch(64.31, 57.28, 306.06°)
OKLaboklab(70.58% 0.0691 -0.1296)
OKLCHoklch(70.58% 0.147 298.1)
XYZxyz(41.6780, 33.1792, 85.8531)
Luminance0.3318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8AEF #CDEF8A
analogous
#8A9BEF #AC8AEF #DF8AEF
triadic
#AC8AEF #EFAC8A #8AEFAC
tetradic
#AC8AEF #EF8A9B #CDEF8A #8AEFDF
square
#AC8AEF #EF8A9B #CDEF8A #8AEFDF
split-complementary
#AC8AEF #EFDF8A #9BEF8A
monochromatic
#601FE0 #8654E8 #AC8AEF #D2C0F6 #ECE4FB

Accessibility & contrast

On white

2.75
#AC8AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#AC8AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8AEF
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8AEF#FFFFFF#000000##000000
##AC8AEF1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9CF3
Deuteranopia (green-blind)
#749BEC
Tritanopia (blue-blind)
#9E9CB1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ac8aef;
/* rgb */ color: rgb(172, 138, 239);
/* oklch */ color: oklch(70.6% 0.147 298.1);
Tailwind
colors: {
  custom: {
    50: '#c7acf4',
    500: '#ac8aef',
    950: '#000000',
  },
}
SCSS
$custom: #ac8aef;
$custom-light: #c7acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8aef",
  "rgb": {
    "r": 172,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 260.198,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70584,
    "c": 0.14687,
    "h": 298.1
  },
  "luminance": 0.3318
}

Semantic roles & 50–950 ramp

primary
#AC8AEF
secondary
#EAF3D8
accent
#D80D94
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AC8AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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