#AC8FEE#AC8FEE

#AC8FEE is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.4% C 0.138 H 296.8°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#AC8FEE
RGBrgb(172, 143, 238)
HSLhsl(258, 74%, 75%)
HSVhsv(258, 40%, 93%)
CMYKcmyk(27.7%, 39.9%, 0%, 6.7%)
CIE-LABlab(65.43, 30.66, -44.00)
CIE-LCHlch(65.43, 53.62, 304.87°)
OKLaboklab(71.42% 0.0622 -0.1229)
OKLCHoklch(71.42% 0.138 296.8)
XYZxyz(42.2647, 34.5882, 85.3218)
Luminance0.3459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8FEE #D1EE8F
analogous
#8FA2EE #AC8FEE #DC8FEE
triadic
#AC8FEE #EEAC8F #8FEEAC
tetradic
#AC8FEE #EE8FA2 #D1EE8F #8FEEDC
square
#AC8FEE #EE8FA2 #D1EE8F #8FEEDC
split-complementary
#AC8FEE #EEDC8F #A2EE8F
monochromatic
#5D25DE #855AE6 #AC8FEE #D3C4F6 #EBE4FB

Accessibility & contrast

On white

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

On black

7.92
#AC8FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8FEE
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8FEE#FFFFFF#000000##000000
##AC8FEE1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#759FF2
Deuteranopia (green-blind)
#7A9EEC
Tritanopia (blue-blind)
#9EA0B3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ac8fee;
/* rgb */ color: rgb(172, 143, 238);
/* oklch */ color: oklch(71.4% 0.138 296.8);
Tailwind
colors: {
  custom: {
    50: '#c7b0f4',
    500: '#ac8fee',
    950: '#000000',
  },
}
SCSS
$custom: #ac8fee;
$custom-light: #c7b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8fee",
  "rgb": {
    "r": 172,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 258.316,
    "s": 73.643,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71416,
    "c": 0.13772,
    "h": 296.8
  },
  "luminance": 0.34589
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC8FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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