#AC8EF7#AC8EF7

#AC8EF7 is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.7% C 0.151 H 295.5°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#AC8EF7
RGBrgb(172, 142, 247)
HSLhsl(257, 87%, 76%)
HSVhsv(257, 43%, 97%)
CMYKcmyk(30.4%, 42.5%, 0%, 3.1%)
CIE-LABlab(65.62, 33.43, -48.64)
CIE-LCHlch(65.62, 59.02, 304.50°)
OKLaboklab(71.7% 0.065 -0.1364)
OKLCHoklch(71.7% 0.151 295.5)
XYZxyz(43.4706, 34.8314, 92.4105)
Luminance0.3483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8EF7 #D9F78E
analogous
#8EA5F7 #AC8EF7 #E18EF7
triadic
#AC8EF7 #F7AC8E #8EF7AC
tetradic
#AC8EF7 #F78EA5 #D9F78E #8EF7E1
square
#AC8EF7 #F78EA5 #D9F78E #8EF7E1
split-complementary
#AC8EF7 #F7E18E #A5F78E
monochromatic
#581CEF #8255F3 #AC8EF7 #D6C7FB #EAE2FD

Accessibility & contrast

On white

2.64
#AC8EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#AC8EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8EF7
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8EF7#FFFFFF#000000##000000
##AC8EF71.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA0FB
Deuteranopia (green-blind)
#739EF4
Tritanopia (blue-blind)
#9CA1B7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ac8ef7;
/* rgb */ color: rgb(172, 142, 247);
/* oklch */ color: oklch(71.7% 0.151 295.5);
Tailwind
colors: {
  custom: {
    50: '#c7affa',
    500: '#ac8ef7',
    950: '#000000',
  },
}
SCSS
$custom: #ac8ef7;
$custom-light: #c7affa;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8ef7",
  "rgb": {
    "r": 172,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 257.143,
    "s": 86.777,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71699,
    "c": 0.1511,
    "h": 295.5
  },
  "luminance": 0.34832
}

Semantic roles & 50–950 ramp

primary
#AC8EF7
secondary
#ECF5D6
accent
#E302A3
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AC8EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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