#AC8DEF#AC8DEF

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

Color values

HEX#AC8DEF
RGBrgb(172, 141, 239)
HSLhsl(259, 75%, 75%)
HSVhsv(259, 41%, 94%)
CMYKcmyk(28%, 41%, 0%, 6.3%)
CIE-LABlab(65.00, 32.03, -45.21)
CIE-LCHlch(65.00, 55.41, 305.31°)
OKLaboklab(71.11% 0.065 -0.1264)
OKLCHoklch(71.11% 0.142 297.2)
XYZxyz(42.1144, 34.0520, 85.9985)
Luminance0.3405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8DEF #D0EF8D
analogous
#8D9FEF #AC8DEF #DD8DEF
triadic
#AC8DEF #EFAC8D #8DEFAC
tetradic
#AC8DEF #EF8D9F #D0EF8D #8DEFDD
square
#AC8DEF #EF8D9F #D0EF8D #8DEFDD
split-complementary
#AC8DEF #EFDD8D #9FEF8D
monochromatic
#5E22E0 #8557E7 #AC8DEF #D3C3F7 #EBE4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC8DEF#FFFFFF#000000##000000
##AC8DEF1.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)
#719EF3
Deuteranopia (green-blind)
#779DED
Tritanopia (blue-blind)
#9E9EB3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ac8def;
/* rgb */ color: rgb(172, 141, 239);
/* oklch */ color: oklch(71.1% 0.142 297.2);
Tailwind
colors: {
  custom: {
    50: '#c7aef4',
    500: '#ac8def',
    950: '#000000',
  },
}
SCSS
$custom: #ac8def;
$custom-light: #c7aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8def",
  "rgb": {
    "r": 172,
    "g": 141,
    "b": 239
  },
  "hsl": {
    "h": 258.98,
    "s": 75.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71111,
    "c": 0.14217,
    "h": 297.2
  },
  "luminance": 0.34052
}

Semantic roles & 50–950 ramp

primary
#AC8DEF
secondary
#EAF3D8
accent
#D80E98
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AC8DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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