#AC9AFA#AC9AFA

#AC9AFA is a light, vivid violet. Relative luminance 0.388; OKLCH L 74.0% C 0.137 H 291.3°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#AC9AFA
RGBrgb(172, 154, 250)
HSLhsl(251, 91%, 79%)
HSVhsv(251, 38%, 98%)
CMYKcmyk(31.2%, 38.4%, 0%, 2%)
CIE-LABlab(68.59, 27.42, -45.59)
CIE-LCHlch(68.59, 53.20, 301.03°)
OKLaboklab(74% 0.0497 -0.1275)
OKLCHoklch(74% 0.137 291.3)
XYZxyz(45.8198, 38.7831, 95.4958)
Luminance0.3878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9AFA #E8FA9A
analogous
#9AB8FA #AC9AFA #DC9AFA
triadic
#AC9AFA #FAAC9A #9AFAAC
tetradic
#AC9AFA #FA9AB8 #E8FA9A #9AFADC
square
#AC9AFA #FA9AB8 #E8FA9A #9AFADC
split-complementary
#AC9AFA #FADC9A #B8FA9A
monochromatic
#4C25F4 #7C60F7 #AC9AFA #DCD4FD #E7E2FE

Accessibility & contrast

On white

2.40
#AC9AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#AC9AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC9AFA
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9AFA#FFFFFF#000000##000000
##AC9AFA1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA9FE
Deuteranopia (green-blind)
#7FA5F8
Tritanopia (blue-blind)
#9AABBE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ac9afa;
/* rgb */ color: rgb(172, 154, 250);
/* oklch */ color: oklch(74.0% 0.137 291.3);
Tailwind
colors: {
  custom: {
    50: '#c7b8fc',
    500: '#ac9afa',
    950: '#000000',
  },
}
SCSS
$custom: #ac9afa;
$custom-light: #c7b8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9afa",
  "rgb": {
    "r": 172,
    "g": 154,
    "b": 250
  },
  "hsl": {
    "h": 251.25,
    "s": 90.566,
    "l": 79.216
  },
  "oklch": {
    "l": 0.74003,
    "c": 0.13687,
    "h": 291.3
  },
  "luminance": 0.38784
}

Semantic roles & 50–950 ramp

primary
#AC9AFA
secondary
#F0F6D5
accent
#E600BA
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AC9AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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