#AC88EC#AC88EC

#AC88EC is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.1% C 0.146 H 299.2°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#AC88EC
RGBrgb(172, 136, 236)
HSLhsl(262, 72%, 73%)
HSVhsv(262, 42%, 93%)
CMYKcmyk(27.1%, 42.4%, 0%, 7.5%)
CIE-LABlab(63.70, 34.11, -45.61)
CIE-LCHlch(63.70, 56.96, 306.79°)
OKLaboklab(70.08% 0.0713 -0.1276)
OKLCHoklch(70.08% 0.146 299.2)
XYZxyz(40.9542, 32.4348, 83.4435)
Luminance0.3244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC88EC #C8EC88
analogous
#8896EC #AC88EC #DE88EC
triadic
#AC88EC #ECAC88 #88ECAC
tetradic
#AC88EC #EC8896 #C8EC88 #88ECDE
square
#AC88EC #EC8896 #C8EC88 #88ECDE
split-complementary
#AC88EC #ECDE88 #96EC88
monochromatic
#6322D7 #8753E4 #AC88EC #D1BDF4 #EDE5FB

Accessibility & contrast

On white

2.80
#AC88EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#AC88EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC88EC
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC88EC#FFFFFF#000000##000000
##AC88EC1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AF0
Deuteranopia (green-blind)
#739AE9
Tritanopia (blue-blind)
#9F99AF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ac88ec;
/* rgb */ color: rgb(172, 136, 236);
/* oklch */ color: oklch(70.1% 0.146 299.2);
Tailwind
colors: {
  custom: {
    50: '#c7abf2',
    500: '#ac88ec',
    950: '#000000',
  },
}
SCSS
$custom: #ac88ec;
$custom-light: #c7abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac88ec",
  "rgb": {
    "r": 172,
    "g": 136,
    "b": 236
  },
  "hsl": {
    "h": 261.6,
    "s": 72.464,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7008,
    "c": 0.14613,
    "h": 299.2
  },
  "luminance": 0.32435
}

Semantic roles & 50–950 ramp

primary
#AC88EC
secondary
#E9F2D9
accent
#D5118E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AC88EC

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

Preview Lab → · Contrast checker → · Palette generator →

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