#AC8FF7#AC8FF7

#AC8FF7 is a light, vivid violet. Relative luminance 0.351; OKLCH L 71.9% C 0.150 H 295.2°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#AC8FF7
RGBrgb(172, 143, 247)
HSLhsl(257, 87%, 76%)
HSVhsv(257, 42%, 97%)
CMYKcmyk(30.4%, 42.1%, 0%, 3.1%)
CIE-LABlab(65.85, 32.87, -48.27)
CIE-LCHlch(65.85, 58.40, 304.25°)
OKLaboklab(71.88% 0.0637 -0.1353)
OKLCHoklch(71.88% 0.15 295.2)
XYZxyz(43.6201, 35.1303, 92.4604)
Luminance0.3513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8FF7 #DAF78F
analogous
#8FA6F7 #AC8FF7 #E08FF7
triadic
#AC8FF7 #F7AC8F #8FF7AC
tetradic
#AC8FF7 #F78FA6 #DAF78F #8FF7E0
square
#AC8FF7 #F78FA6 #DAF78F #8FF7E0
split-complementary
#AC8FF7 #F7E08F #A6F78F
monochromatic
#571DEF #8256F3 #AC8FF7 #D6C8FB #EAE2FD

Accessibility & contrast

On white

2.62
#AC8FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#AC8FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8FF7
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8FF7#FFFFFF#000000##000000
##AC8FF71.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A1FB
Deuteranopia (green-blind)
#749FF4
Tritanopia (blue-blind)
#9CA2B7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ac8ff7;
/* rgb */ color: rgb(172, 143, 247);
/* oklch */ color: oklch(71.9% 0.150 295.2);
Tailwind
colors: {
  custom: {
    50: '#c7b0fa',
    500: '#ac8ff7',
    950: '#000000',
  },
}
SCSS
$custom: #ac8ff7;
$custom-light: #c7b0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8ff7",
  "rgb": {
    "r": 172,
    "g": 143,
    "b": 247
  },
  "hsl": {
    "h": 256.731,
    "s": 86.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71875,
    "c": 0.14956,
    "h": 295.2
  },
  "luminance": 0.35131
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC8FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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