#AC7FDA#AC7FDA

#AC7FDA is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.6% C 0.138 H 305.8°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#AC7FDA
RGBrgb(172, 127, 218)
HSLhsl(270, 55%, 68%)
HSVhsv(270, 42%, 85%)
CMYKcmyk(21.1%, 41.7%, 0%, 14.5%)
CIE-LABlab(60.79, 34.92, -40.18)
CIE-LCHlch(60.79, 53.23, 311.00°)
OKLaboklab(67.61% 0.0807 -0.1118)
OKLCHoklch(67.61% 0.138 305.8)
XYZxyz(37.2550, 29.0116, 69.9532)
Luminance0.2901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7FDA #ADDA7F
analogous
#7F7FDA #AC7FDA #D97FDA
triadic
#AC7FDA #DAAC7F #7FDAAC
tetradic
#AC7FDA #DA7F7F #ADDA7F #7FDAD9
square
#AC7FDA #DA7F7F #ADDA7F #7FDAD9
split-complementary
#AC7FDA #DAD97F #7FDA7F
monochromatic
#6F32AD #8D50CC #AC7FDA #CBAEE8 #EADEF5

Accessibility & contrast

On white

3.09
#AC7FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#AC7FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7FDA
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7FDA#FFFFFF#000000##000000
##AC7FDA1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6991DD
Deuteranopia (green-blind)
#7493D8
Tritanopia (blue-blind)
#A58EA2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ac7fda;
/* rgb */ color: rgb(172, 127, 218);
/* oklch */ color: oklch(67.6% 0.138 305.8);
Tailwind
colors: {
  custom: {
    50: '#c6a5e6',
    500: '#ac7fda',
    950: '#000000',
  },
}
SCSS
$custom: #ac7fda;
$custom-light: #c6a5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7fda",
  "rgb": {
    "r": 172,
    "g": 127,
    "b": 218
  },
  "hsl": {
    "h": 269.67,
    "s": 55.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67611,
    "c": 0.13786,
    "h": 305.8
  },
  "luminance": 0.29011
}

Semantic roles & 50–950 ramp

primary
#AC7FDA
secondary
#DBE9CC
accent
#C32374
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AC7FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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