#AC8AFD#AC8AFD

#AC8AFD is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.3% C 0.165 H 295.5°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#AC8AFD
RGBrgb(172, 138, 253)
HSLhsl(258, 97%, 77%)
HSVhsv(258, 45%, 99%)
CMYKcmyk(32%, 45.5%, 0%, 0.8%)
CIE-LABlab(64.99, 37.17, -52.91)
CIE-LCHlch(64.99, 64.66, 305.09°)
OKLaboklab(71.33% 0.0711 -0.1488)
OKLCHoklch(71.33% 0.165 295.5)
XYZxyz(43.8269, 34.0388, 97.1706)
Luminance0.3404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8AFD #DBFD8A
analogous
#8AA2FD #AC8AFD #E68AFD
triadic
#AC8AFD #FDAC8A #8AFDAC
tetradic
#AC8AFD #FD8AA2 #DBFD8A #8AFDE6
square
#AC8AFD #FD8AA2 #DBFD8A #8AFDE6
split-complementary
#AC8AFD #FDE68A #A2FD8A
monochromatic
#5712FB #814EFC #AC8AFD #D7C6FE #EAE1FE

Accessibility & contrast

On white

2.69
#AC8AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#AC8AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8AFD
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8AFD#FFFFFF#000000##000000
##AC8AFD1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#6B9CFA
Tritanopia (blue-blind)
#9AA0B7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ac8afd;
/* rgb */ color: rgb(172, 138, 253);
/* oklch */ color: oklch(71.3% 0.165 295.5);
Tailwind
colors: {
  custom: {
    50: '#c8acfe',
    500: '#ac8afd',
    950: '#000000',
  },
}
SCSS
$custom: #ac8afd;
$custom-light: #c8acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8afd",
  "rgb": {
    "r": 172,
    "g": 138,
    "b": 253
  },
  "hsl": {
    "h": 257.739,
    "s": 96.639,
    "l": 76.667
  },
  "oklch": {
    "l": 0.71326,
    "c": 0.16496,
    "h": 295.5
  },
  "luminance": 0.34039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC8AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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