#AC8FE5#AC8FE5

#AC8FE5 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.0% C 0.126 H 298.7°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#AC8FE5
RGBrgb(172, 143, 229)
HSLhsl(260, 62%, 73%)
HSVhsv(260, 38%, 90%)
CMYKcmyk(24.9%, 37.6%, 0%, 10.2%)
CIE-LABlab(65.02, 28.49, -39.67)
CIE-LCHlch(65.02, 48.84, 305.69°)
OKLaboklab(70.97% 0.0604 -0.1104)
OKLCHoklch(70.97% 0.126 298.7)
XYZxyz(40.9753, 34.0725, 78.5315)
Luminance0.3407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8FE5 #C8E58F
analogous
#8F9DE5 #AC8FE5 #D78FE5
triadic
#AC8FE5 #E5AC8F #8FE5AC
tetradic
#AC8FE5 #E58F9D #C8E58F #8FE5D7
square
#AC8FE5 #E58F9D #C8E58F #8FE5D7
split-complementary
#AC8FE5 #E5D78F #9DE58F
monochromatic
#632FCB #875DD9 #AC8FE5 #D1C1F1 #EDE6F9

Accessibility & contrast

On white

2.69
#AC8FE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#AC8FE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8FE5
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8FE5#FFFFFF#000000##000000
##AC8FE51.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#799EE8
Deuteranopia (green-blind)
#7E9DE3
Tritanopia (blue-blind)
#A19DAF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ac8fe5;
/* rgb */ color: rgb(172, 143, 229);
/* oklch */ color: oklch(71.0% 0.126 298.7);
Tailwind
colors: {
  custom: {
    50: '#c6b0ed',
    500: '#ac8fe5',
    950: '#000000',
  },
}
SCSS
$custom: #ac8fe5;
$custom-light: #c6b0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8fe5",
  "rgb": {
    "r": 172,
    "g": 143,
    "b": 229
  },
  "hsl": {
    "h": 260.233,
    "s": 62.319,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70974,
    "c": 0.12582,
    "h": 298.7
  },
  "luminance": 0.34073
}

Semantic roles & 50–950 ramp

primary
#AC8FE5
secondary
#E9F1DA
accent
#CA1B8F
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AC8FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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