#AC8EFB#AC8EFB

#AC8EFB is a light, vivid violet. Relative luminance 0.351; OKLCH L 71.9% C 0.156 H 294.8°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#AC8EFB
RGBrgb(172, 142, 251)
HSLhsl(257, 93%, 77%)
HSVhsv(257, 43%, 98%)
CMYKcmyk(31.5%, 43.4%, 0%, 1.6%)
CIE-LABlab(65.81, 34.43, -50.52)
CIE-LCHlch(65.81, 61.14, 304.27°)
OKLaboklab(71.91% 0.0657 -0.1419)
OKLCHoklch(71.91% 0.156 294.8)
XYZxyz(44.0945, 35.0810, 95.6963)
Luminance0.3508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8EFB #DDFB8E
analogous
#8EA7FB #AC8EFB #E38EFB
triadic
#AC8EFB #FBAC8E #8EFBAC
tetradic
#AC8EFB #FB8EA7 #DDFB8E #8EFBE3
square
#AC8EFB #FB8EA7 #DDFB8E #8EFBE3
split-complementary
#AC8EFB #FBE38E #A7FB8E
monochromatic
#5518F7 #8153F9 #AC8EFB #D7C9FD #E9E1FE

Accessibility & contrast

On white

2.62
#AC8EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#AC8EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8EFB
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8EFB#FFFFFF#000000##000000
##AC8EFB1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA1FF
Deuteranopia (green-blind)
#719EF8
Tritanopia (blue-blind)
#9AA2B8
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ac8efb;
/* rgb */ color: rgb(172, 142, 251);
/* oklch */ color: oklch(71.9% 0.156 294.8);
Tailwind
colors: {
  custom: {
    50: '#c7affd',
    500: '#ac8efb',
    950: '#000000',
  },
}
SCSS
$custom: #ac8efb;
$custom-light: #c7affd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8efb",
  "rgb": {
    "r": 172,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 256.514,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.71909,
    "c": 0.15632,
    "h": 294.8
  },
  "luminance": 0.35082
}

Semantic roles & 50–950 ramp

primary
#AC8EFB
secondary
#EDF6D5
accent
#E600A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AC8EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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