#AC8ECA#AC8ECA

#AC8ECA is a light, moderate violet. Relative luminance 0.324; OKLCH L 69.6% C 0.092 H 307.0°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#AC8ECA
RGBrgb(172, 142, 202)
HSLhsl(270, 36%, 67%)
HSVhsv(270, 30%, 79%)
CMYKcmyk(14.9%, 29.7%, 0%, 20.8%)
CIE-LABlab(63.66, 22.87, -26.76)
CIE-LCHlch(63.66, 35.20, 310.51°)
OKLaboklab(69.57% 0.0553 -0.0734)
OKLCHoklch(69.57% 0.092 307)
XYZxyz(37.3449, 32.3812, 60.1485)
Luminance0.3238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8ECA #ACCA8E
analogous
#8E8ECA #AC8ECA #CA8ECA
triadic
#AC8ECA #CAAC8E #8ECAAC
tetradic
#AC8ECA #CA8E8E #ACCA8E #8ECACA
square
#AC8ECA #CA8E8E #ACCA8E #8ECACA
split-complementary
#AC8ECA #CACA8E #8ECA8E
monochromatic
#6F4797 #8D64B6 #AC8ECA #CBB8DE #E9E1F1

Accessibility & contrast

On white

2.81
#AC8ECA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#AC8ECA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8ECA
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8ECA#FFFFFF#000000##000000
##AC8ECA1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8399CC
Deuteranopia (green-blind)
#899BC8
Tritanopia (blue-blind)
#A896A3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ac8eca;
/* rgb */ color: rgb(172, 142, 202);
/* oklch */ color: oklch(69.6% 0.092 307.0);
Tailwind
colors: {
  custom: {
    50: '#c5afda',
    500: '#ac8eca',
    950: '#000000',
  },
}
SCSS
$custom: #ac8eca;
$custom-light: #c5afda;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8eca",
  "rgb": {
    "r": 172,
    "g": 142,
    "b": 202
  },
  "hsl": {
    "h": 270,
    "s": 36.145,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69565,
    "c": 0.0919,
    "h": 307
  },
  "luminance": 0.32381
}

Semantic roles & 50–950 ramp

primary
#AC8ECA
secondary
#DAE3D1
accent
#AF3673
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131015
muted
#827F83

Preview Lab

Preview with #AC8ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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