#AC7FF1#AC7FF1

#AC7FF1 is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.8% C 0.167 H 300.3°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#AC7FF1
RGBrgb(172, 127, 241)
HSLhsl(264, 80%, 72%)
HSVhsv(264, 47%, 95%)
CMYKcmyk(28.6%, 47.3%, 0%, 5.5%)
CIE-LABlab(61.91, 40.35, -51.20)
CIE-LCHlch(61.91, 65.18, 308.24°)
OKLaboklab(68.82% 0.084 -0.1438)
OKLCHoklch(68.82% 0.167 300.3)
XYZxyz(40.4761, 30.3001, 86.9181)
Luminance0.3030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7FF1 #C4F17F
analogous
#7F8BF1 #AC7FF1 #E57FF1
triadic
#AC7FF1 #F1AC7F #7FF1AC
tetradic
#AC7FF1 #F17F8B #C4F17F #7FF1E5
square
#AC7FF1 #F17F8B #C4F17F #7FF1E5
split-complementary
#AC7FF1 #F1E57F #8BF17F
monochromatic
#6618DD #8848EB #AC7FF1 #D0B6F7 #EDE3FC

Accessibility & contrast

On white

2.97
#AC7FF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#AC7FF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC7FF1
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7FF1#FFFFFF#000000##000000
##AC7FF11.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C95F5
Deuteranopia (green-blind)
#6695EE
Tritanopia (blue-blind)
#9F94AD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ac7ff1;
/* rgb */ color: rgb(172, 127, 241);
/* oklch */ color: oklch(68.8% 0.167 300.3);
Tailwind
colors: {
  custom: {
    50: '#c7a5f6',
    500: '#ac7ff1',
    950: '#000000',
  },
}
SCSS
$custom: #ac7ff1;
$custom-light: #c7a5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7ff1",
  "rgb": {
    "r": 172,
    "g": 127,
    "b": 241
  },
  "hsl": {
    "h": 263.684,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68817,
    "c": 0.16657,
    "h": 300.3
  },
  "luminance": 0.303
}

Semantic roles & 50–950 ramp

primary
#AC7FF1
secondary
#E9F4D7
accent
#DD0989
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #AC7FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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