#AC7EF8#AC7EF8

#AC7EF8 is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.0% C 0.177 H 299.1°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#AC7EF8
RGBrgb(172, 126, 248)
HSLhsl(263, 90%, 73%)
HSVhsv(263, 49%, 97%)
CMYKcmyk(30.6%, 49.2%, 0%, 2.7%)
CIE-LABlab(62.06, 42.60, -54.83)
CIE-LCHlch(62.06, 69.44, 307.85°)
OKLaboklab(69.04% 0.0861 -0.1544)
OKLCHoklch(69.04% 0.177 299.1)
XYZxyz(41.4134, 30.4693, 92.4881)
Luminance0.3047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7EF8 #CAF87E
analogous
#7E8DF8 #AC7EF8 #E97EF8
triadic
#AC7EF8 #F8AC7E #7EF8AC
tetradic
#AC7EF8 #F87E8D #CAF87E #7EF8E9
square
#AC7EF8 #F87E8D #CAF87E #7EF8E9
split-complementary
#AC7EF8 #F8E97E #8DF87E
monochromatic
#620DEF #8744F5 #AC7EF8 #D1B8FB #ECE2FD

Accessibility & contrast

On white

2.96
#AC7EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#AC7EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC7EF8
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7EF8#FFFFFF#000000##000000
##AC7EF81.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FC
Deuteranopia (green-blind)
#6095F5
Tritanopia (blue-blind)
#9C95B0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ac7ef8;
/* rgb */ color: rgb(172, 126, 248);
/* oklch */ color: oklch(69.0% 0.177 299.1);
Tailwind
colors: {
  custom: {
    50: '#c8a4fb',
    500: '#ac7ef8',
    950: '#000000',
  },
}
SCSS
$custom: #ac7ef8;
$custom-light: #c8a4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7ef8",
  "rgb": {
    "r": 172,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 262.623,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69044,
    "c": 0.17679,
    "h": 299.1
  },
  "luminance": 0.3047
}

Semantic roles & 50–950 ramp

primary
#AC7EF8
secondary
#E9F6D5
accent
#E6008F
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AC7EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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