#AC7FF2#AC7FF2

#AC7FF2 is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.9% C 0.168 H 300.1°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#AC7FF2
RGBrgb(172, 127, 242)
HSLhsl(263, 82%, 72%)
HSVhsv(263, 48%, 95%)
CMYKcmyk(28.9%, 47.5%, 0%, 5.1%)
CIE-LABlab(61.96, 40.59, -51.67)
CIE-LCHlch(61.96, 65.70, 308.15°)
OKLaboklab(68.87% 0.0841 -0.1452)
OKLCHoklch(68.87% 0.168 300.1)
XYZxyz(40.6259, 30.3600, 87.7069)
Luminance0.3036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7FF2 #C5F27F
analogous
#7F8CF2 #AC7FF2 #E57FF2
triadic
#AC7FF2 #F2AC7F #7FF2AC
tetradic
#AC7FF2 #F27F8C #C5F27F #7FF2E5
square
#AC7FF2 #F27F8C #C5F27F #7FF2E5
split-complementary
#AC7FF2 #F2E57F #8CF27F
monochromatic
#6517E0 #8847EC #AC7FF2 #D0B7F8 #EDE3FC

Accessibility & contrast

On white

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

On black

7.07
#AC7FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC7FF2
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7FF2#FFFFFF#000000##000000
##AC7FF21.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B95F6
Deuteranopia (green-blind)
#6695EF
Tritanopia (blue-blind)
#9E94AD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ac7ff2;
/* rgb */ color: rgb(172, 127, 242);
/* oklch */ color: oklch(68.9% 0.168 300.1);
Tailwind
colors: {
  custom: {
    50: '#c7a5f7',
    500: '#ac7ff2',
    950: '#000000',
  },
}
SCSS
$custom: #ac7ff2;
$custom-light: #c7a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7ff2",
  "rgb": {
    "r": 172,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 263.478,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68872,
    "c": 0.16782,
    "h": 300.1
  },
  "luminance": 0.3036
}

Semantic roles & 50–950 ramp

primary
#AC7FF2
secondary
#E9F4D7
accent
#DE088A
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AC7FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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