#AC7EF2#AC7EF2

#AC7EF2 is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.7% C 0.169 H 300.3°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#AC7EF2
RGBrgb(172, 126, 242)
HSLhsl(264, 82%, 72%)
HSVhsv(264, 48%, 95%)
CMYKcmyk(28.9%, 47.9%, 0%, 5.1%)
CIE-LABlab(61.74, 41.14, -52.02)
CIE-LCHlch(61.74, 66.32, 308.34°)
OKLaboklab(68.71% 0.0855 -0.1462)
OKLCHoklch(68.71% 0.169 300.3)
XYZxyz(40.4974, 30.1030, 87.6641)
Luminance0.3010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7EF2 #C4F27E
analogous
#7E8AF2 #AC7EF2 #E67EF2
triadic
#AC7EF2 #F2AC7E #7EF2AC
tetradic
#AC7EF2 #F27E8A #C4F27E #7EF2E6
square
#AC7EF2 #F27E8A #C4F27E #7EF2E6
split-complementary
#AC7EF2 #F2E67E #8AF27E
monochromatic
#6616DF #8846EC #AC7EF2 #D0B6F8 #EDE3FC

Accessibility & contrast

On white

2.99
#AC7EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#AC7EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC7EF2
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7EF2#FFFFFF#000000##000000
##AC7EF21.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5995F6
Deuteranopia (green-blind)
#6494EF
Tritanopia (blue-blind)
#9E93AD
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ac7ef2;
/* rgb */ color: rgb(172, 126, 242);
/* oklch */ color: oklch(68.7% 0.169 300.3);
Tailwind
colors: {
  custom: {
    50: '#c7a4f7',
    500: '#ac7ef2',
    950: '#000000',
  },
}
SCSS
$custom: #ac7ef2;
$custom-light: #c7a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7ef2",
  "rgb": {
    "r": 172,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 263.793,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68708,
    "c": 0.16936,
    "h": 300.3
  },
  "luminance": 0.30103
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC7EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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