#AC7EF6#AC7EF6

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

Color values

HEX#AC7EF6
RGBrgb(172, 126, 246)
HSLhsl(263, 87%, 73%)
HSVhsv(263, 49%, 96%)
CMYKcmyk(30.1%, 48.8%, 0%, 3.5%)
CIE-LABlab(61.95, 42.11, -53.90)
CIE-LCHlch(61.95, 68.40, 308.00°)
OKLaboklab(68.93% 0.0859 -0.1517)
OKLCHoklch(68.93% 0.174 299.5)
XYZxyz(41.1047, 30.3459, 90.8627)
Luminance0.3035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7EF6 #C8F67E
analogous
#7E8CF6 #AC7EF6 #E87EF6
triadic
#AC7EF6 #F6AC7E #7EF6AC
tetradic
#AC7EF6 #F67E8C #C8F67E #7EF6E8
square
#AC7EF6 #F67E8C #C8F67E #7EF6E8
split-complementary
#AC7EF6 #F6E87E #8CF67E
monochromatic
#6310E9 #8745F2 #AC7EF6 #D1B7FA #EDE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC7EF6#FFFFFF#000000##000000
##AC7EF61.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)
#5695FA
Deuteranopia (green-blind)
#6295F3
Tritanopia (blue-blind)
#9D94AF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ac7ef6;
/* rgb */ color: rgb(172, 126, 246);
/* oklch */ color: oklch(68.9% 0.174 299.5);
Tailwind
colors: {
  custom: {
    50: '#c8a4fa',
    500: '#ac7ef6',
    950: '#000000',
  },
}
SCSS
$custom: #ac7ef6;
$custom-light: #c8a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7ef6",
  "rgb": {
    "r": 172,
    "g": 126,
    "b": 246
  },
  "hsl": {
    "h": 263,
    "s": 86.957,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68931,
    "c": 0.17431,
    "h": 299.5
  },
  "luminance": 0.30346
}

Semantic roles & 50–950 ramp

primary
#AC7EF6
secondary
#E9F5D6
accent
#E4028D
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AC7EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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