#AC8DF7#AC8DF7

#AC8DF7 is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.5% C 0.153 H 295.8°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#AC8DF7
RGBrgb(172, 141, 247)
HSLhsl(258, 87%, 76%)
HSVhsv(258, 43%, 97%)
CMYKcmyk(30.4%, 42.9%, 0%, 3.1%)
CIE-LABlab(65.39, 34.00, -49.01)
CIE-LCHlch(65.39, 59.64, 304.75°)
OKLaboklab(71.52% 0.0664 -0.1374)
OKLCHoklch(71.52% 0.153 295.8)
XYZxyz(43.3225, 34.5352, 92.3612)
Luminance0.3454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8DF7 #D8F78D
analogous
#8DA3F7 #AC8DF7 #E18DF7
triadic
#AC8DF7 #F7AC8D #8DF7AC
tetradic
#AC8DF7 #F78DA3 #D8F78D #8DF7E1
square
#AC8DF7 #F78DA3 #D8F78D #8DF7E1
split-complementary
#AC8DF7 #F7E18D #A3F78D
monochromatic
#591BEF #8254F3 #AC8DF7 #D6C6FB #EAE2FD

Accessibility & contrast

On white

2.66
#AC8DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#AC8DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8DF7
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8DF7#FFFFFF#000000##000000
##AC8DF71.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9FFB
Deuteranopia (green-blind)
#729DF4
Tritanopia (blue-blind)
#9CA0B6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ac8df7;
/* rgb */ color: rgb(172, 141, 247);
/* oklch */ color: oklch(71.5% 0.153 295.8);
Tailwind
colors: {
  custom: {
    50: '#c7aefa',
    500: '#ac8df7',
    950: '#000000',
  },
}
SCSS
$custom: #ac8df7;
$custom-light: #c7aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8df7",
  "rgb": {
    "r": 172,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 257.547,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71524,
    "c": 0.15264,
    "h": 295.8
  },
  "luminance": 0.34536
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC8DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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