#AC8FEF#AC8FEF

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

Color values

HEX#AC8FEF
RGBrgb(172, 143, 239)
HSLhsl(258, 75%, 75%)
HSVhsv(258, 40%, 94%)
CMYKcmyk(28%, 40.2%, 0%, 6.3%)
CIE-LABlab(65.47, 30.90, -44.47)
CIE-LCHlch(65.47, 54.16, 304.79°)
OKLaboklab(71.47% 0.0623 -0.1243)
OKLCHoklch(71.47% 0.139 296.6)
XYZxyz(42.4120, 34.6471, 86.0977)
Luminance0.3465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8FEF #D2EF8F
analogous
#8FA2EF #AC8FEF #DC8FEF
triadic
#AC8FEF #EFAC8F #8FEFAC
tetradic
#AC8FEF #EF8FA2 #D2EF8F #8FEFDC
square
#AC8FEF #EF8FA2 #D2EF8F #8FEFDC
split-complementary
#AC8FEF #EFDC8F #A2EF8F
monochromatic
#5D24E0 #8459E7 #AC8FEF #D4C5F7 #EBE4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC8FEF#FFFFFF#000000##000000
##AC8FEF1.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)
#749FF3
Deuteranopia (green-blind)
#799EED
Tritanopia (blue-blind)
#9EA0B4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ac8fef;
/* rgb */ color: rgb(172, 143, 239);
/* oklch */ color: oklch(71.5% 0.139 296.6);
Tailwind
colors: {
  custom: {
    50: '#c7b0f4',
    500: '#ac8fef',
    950: '#000000',
  },
}
SCSS
$custom: #ac8fef;
$custom-light: #c7b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8fef",
  "rgb": {
    "r": 172,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 258.125,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71466,
    "c": 0.13904,
    "h": 296.6
  },
  "luminance": 0.34648
}

Semantic roles & 50–950 ramp

primary
#AC8FEF
secondary
#EBF3D8
accent
#D70E9A
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AC8FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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