#AC8DF4#AC8DF4

#AC8DF4 is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.4% C 0.149 H 296.3°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#AC8DF4
RGBrgb(172, 141, 244)
HSLhsl(258, 82%, 75%)
HSVhsv(258, 42%, 96%)
CMYKcmyk(29.5%, 42.2%, 0%, 4.3%)
CIE-LABlab(65.24, 33.25, -47.59)
CIE-LCHlch(65.24, 58.06, 304.95°)
OKLaboklab(71.37% 0.0659 -0.1333)
OKLCHoklch(71.37% 0.149 296.3)
XYZxyz(42.8633, 34.3515, 89.9427)
Luminance0.3435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8DF4 #D5F48D
analogous
#8DA1F4 #AC8DF4 #DF8DF4
triadic
#AC8DF4 #F4AC8D #8DF4AC
tetradic
#AC8DF4 #F48DA1 #D5F48D #8DF4DF
square
#AC8DF4 #F48DA1 #D5F48D #8DF4DF
split-complementary
#AC8DF4 #F4DF8D #A1F48D
monochromatic
#5B1DE9 #8355EF #AC8DF4 #D5C5F9 #EBE3FC

Accessibility & contrast

On white

2.67
#AC8DF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#AC8DF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8DF4
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8DF4#FFFFFF#000000##000000
##AC8DF41.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9FF8
Deuteranopia (green-blind)
#749DF1
Tritanopia (blue-blind)
#9D9FB5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ac8df4;
/* rgb */ color: rgb(172, 141, 244);
/* oklch */ color: oklch(71.4% 0.149 296.3);
Tailwind
colors: {
  custom: {
    50: '#c7aef8',
    500: '#ac8df4',
    950: '#000000',
  },
}
SCSS
$custom: #ac8df4;
$custom-light: #c7aef8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8df4",
  "rgb": {
    "r": 172,
    "g": 141,
    "b": 244
  },
  "hsl": {
    "h": 258.058,
    "s": 82.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71368,
    "c": 0.14871,
    "h": 296.3
  },
  "luminance": 0.34352
}

Semantic roles & 50–950 ramp

primary
#AC8DF4
secondary
#EBF4D7
accent
#DF079E
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AC8DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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