#AC8EF4#AC8EF4

#AC8EF4 is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.5% C 0.147 H 296.0°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#AC8EF4
RGBrgb(172, 142, 244)
HSLhsl(258, 82%, 76%)
HSVhsv(258, 42%, 96%)
CMYKcmyk(29.5%, 41.8%, 0%, 4.3%)
CIE-LABlab(65.47, 32.69, -47.22)
CIE-LCHlch(65.47, 57.43, 304.70°)
OKLaboklab(71.54% 0.0646 -0.1322)
OKLCHoklch(71.54% 0.147 296)
XYZxyz(43.0114, 34.6478, 89.9920)
Luminance0.3465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8EF4 #D6F48E
analogous
#8EA3F4 #AC8EF4 #DF8EF4
triadic
#AC8EF4 #F4AC8E #8EF4AC
tetradic
#AC8EF4 #F48EA3 #D6F48E #8EF4DF
square
#AC8EF4 #F48EA3 #D6F48E #8EF4DF
split-complementary
#AC8EF4 #F4DF8E #A3F48E
monochromatic
#5A1EE9 #8356EF #AC8EF4 #D5C6F9 #EBE3FC

Accessibility & contrast

On white

2.65
#AC8EF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#AC8EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8EF4
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8EF4#FFFFFF#000000##000000
##AC8EF41.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A0F8
Deuteranopia (green-blind)
#759EF1
Tritanopia (blue-blind)
#9DA0B5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ac8ef4;
/* rgb */ color: rgb(172, 142, 244);
/* oklch */ color: oklch(71.5% 0.147 296.0);
Tailwind
colors: {
  custom: {
    50: '#c7aff8',
    500: '#ac8ef4',
    950: '#000000',
  },
}
SCSS
$custom: #ac8ef4;
$custom-light: #c7aff8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8ef4",
  "rgb": {
    "r": 172,
    "g": 142,
    "b": 244
  },
  "hsl": {
    "h": 257.647,
    "s": 82.258,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71544,
    "c": 0.14717,
    "h": 296
  },
  "luminance": 0.34648
}

Semantic roles & 50–950 ramp

primary
#AC8EF4
secondary
#ECF4D7
accent
#DF079F
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AC8EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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