#AC89DC#AC89DC

#AC89DC is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.5% C 0.124 H 302.7°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#AC89DC
RGBrgb(172, 137, 220)
HSLhsl(265, 54%, 70%)
HSVhsv(265, 38%, 86%)
CMYKcmyk(21.8%, 37.7%, 0%, 13.7%)
CIE-LABlab(63.20, 29.76, -37.52)
CIE-LCHlch(63.20, 47.89, 308.42°)
OKLaboklab(69.46% 0.0669 -0.1042)
OKLCHoklch(69.46% 0.124 302.7)
XYZxyz(38.8744, 31.8293, 71.7919)
Luminance0.3183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC89DC #B9DC89
analogous
#8990DC #AC89DC #D589DC
triadic
#AC89DC #DCAC89 #89DCAC
tetradic
#AC89DC #DC8990 #B9DC89 #89DCD5
square
#AC89DC #DC8990 #B9DC89 #89DCD5
split-complementary
#AC89DC #DCD589 #90DC89
monochromatic
#6B36B5 #8B5ACE #AC89DC #CDB8EA #EEE7F8

Accessibility & contrast

On white

2.85
#AC89DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#AC89DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC89DC
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC89DC#FFFFFF#000000##000000
##AC89DC1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7598DF
Deuteranopia (green-blind)
#7D99DA
Tritanopia (blue-blind)
#A496A8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ac89dc;
/* rgb */ color: rgb(172, 137, 220);
/* oklch */ color: oklch(69.5% 0.124 302.7);
Tailwind
colors: {
  custom: {
    50: '#c6ace7',
    500: '#ac89dc',
    950: '#000000',
  },
}
SCSS
$custom: #ac89dc;
$custom-light: #c6ace7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac89dc",
  "rgb": {
    "r": 172,
    "g": 137,
    "b": 220
  },
  "hsl": {
    "h": 265.301,
    "s": 54.248,
    "l": 70
  },
  "oklch": {
    "l": 0.69463,
    "c": 0.1238,
    "h": 302.7
  },
  "luminance": 0.31829
}

Semantic roles & 50–950 ramp

primary
#AC89DC
secondary
#E2ECD5
accent
#C2247F
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AC89DC

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

Preview Lab → · Contrast checker → · Palette generator →

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