#AC7EF7#AC7EF7

#AC7EF7 is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.0% C 0.176 H 299.3°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#AC7EF7
RGBrgb(172, 126, 247)
HSLhsl(263, 88%, 73%)
HSVhsv(263, 49%, 97%)
CMYKcmyk(30.4%, 49%, 0%, 3.1%)
CIE-LABlab(62.00, 42.36, -54.36)
CIE-LCHlch(62.00, 68.92, 307.93°)
OKLaboklab(68.99% 0.086 -0.1531)
OKLCHoklch(68.99% 0.176 299.3)
XYZxyz(41.2586, 30.4075, 91.6732)
Luminance0.3041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7EF7 #C9F77E
analogous
#7E8CF7 #AC7EF7 #E87EF7
triadic
#AC7EF7 #F7AC7E #7EF7AC
tetradic
#AC7EF7 #F77E8C #C9F77E #7EF7E8
square
#AC7EF7 #F77E8C #C9F77E #7EF7E8
split-complementary
#AC7EF7 #F7E87E #8CF77E
monochromatic
#630FEC #8744F3 #AC7EF7 #D1B8FB #ECE2FD

Accessibility & contrast

On white

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

On black

7.08
#AC7EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC7EF7
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7EF7#FFFFFF#000000##000000
##AC7EF71.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FB
Deuteranopia (green-blind)
#6195F4
Tritanopia (blue-blind)
#9D95AF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ac7ef7;
/* rgb */ color: rgb(172, 126, 247);
/* oklch */ color: oklch(69.0% 0.176 299.3);
Tailwind
colors: {
  custom: {
    50: '#c8a4fa',
    500: '#ac7ef7',
    950: '#000000',
  },
}
SCSS
$custom: #ac7ef7;
$custom-light: #c8a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7ef7",
  "rgb": {
    "r": 172,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 262.81,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68987,
    "c": 0.17555,
    "h": 299.3
  },
  "luminance": 0.30408
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC7EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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