#AC8CF7#AC8CF7

#AC8CF7 is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.4% C 0.154 H 296.0°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#AC8CF7
RGBrgb(172, 140, 247)
HSLhsl(258, 87%, 76%)
HSVhsv(258, 43%, 97%)
CMYKcmyk(30.4%, 43.3%, 0%, 3.1%)
CIE-LABlab(65.15, 34.56, -49.37)
CIE-LCHlch(65.15, 60.26, 304.99°)
OKLaboklab(71.35% 0.0677 -0.1385)
OKLCHoklch(71.35% 0.154 296)
XYZxyz(43.1757, 34.2417, 92.3122)
Luminance0.3424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8CF7 #D7F78C
analogous
#8CA1F7 #AC8CF7 #E18CF7
triadic
#AC8CF7 #F7AC8C #8CF7AC
tetradic
#AC8CF7 #F78CA1 #D7F78C #8CF7E1
square
#AC8CF7 #F78CA1 #D7F78C #8CF7E1
split-complementary
#AC8CF7 #F7E18C #A1F78C
monochromatic
#591AEF #8353F3 #AC8CF7 #D5C5FB #EAE2FD

Accessibility & contrast

On white

2.68
#AC8CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#AC8CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8CF7
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8CF7#FFFFFF#000000##000000
##AC8CF71.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9FFB
Deuteranopia (green-blind)
#719DF4
Tritanopia (blue-blind)
#9C9FB6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ac8cf7;
/* rgb */ color: rgb(172, 140, 247);
/* oklch */ color: oklch(71.4% 0.154 296.0);
Tailwind
colors: {
  custom: {
    50: '#c7aefa',
    500: '#ac8cf7',
    950: '#000000',
  },
}
SCSS
$custom: #ac8cf7;
$custom-light: #c7aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8cf7",
  "rgb": {
    "r": 172,
    "g": 140,
    "b": 247
  },
  "hsl": {
    "h": 257.944,
    "s": 86.992,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7135,
    "c": 0.15417,
    "h": 296
  },
  "luminance": 0.34242
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC8CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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