#AC7ECA#AC7ECA

#AC7ECA is a light, moderate violet. Relative luminance 0.280; OKLCH L 66.7% C 0.120 H 311.2°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#AC7ECA
RGBrgb(172, 126, 202)
HSLhsl(276, 42%, 64%)
HSVhsv(276, 38%, 79%)
CMYKcmyk(14.9%, 37.6%, 0%, 20.8%)
CIE-LABlab(59.85, 31.90, -32.65)
CIE-LCHlch(59.85, 45.65, 314.33°)
OKLaboklab(66.67% 0.0789 -0.0901)
OKLCHoklch(66.67% 0.12 311.2)
XYZxyz(35.1329, 27.9572, 59.4111)
Luminance0.2796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7ECA #9CCA7E
analogous
#867ECA #AC7ECA #CA7EC2
triadic
#AC7ECA #CAAC7E #7ECAAC
tetradic
#AC7ECA #CA867E #9CCA7E #7EC2CA
square
#AC7ECA #CA867E #9CCA7E #7EC2CA
split-complementary
#AC7ECA #C2CA7E #7ECA86
monochromatic
#703C92 #9053B8 #AC7ECA #C8A9DC #E4D5EE

Accessibility & contrast

On white

3.19
#AC7ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#AC7ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7ECA
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7ECA#FFFFFF#000000##000000
##AC7ECA1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#708ECD
Deuteranopia (green-blind)
#7B91C8
Tritanopia (blue-blind)
#A9899B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ac7eca;
/* rgb */ color: rgb(172, 126, 202);
/* oklch */ color: oklch(66.7% 0.120 311.2);
Tailwind
colors: {
  custom: {
    50: '#c6a4da',
    500: '#ac7eca',
    950: '#000000',
  },
}
SCSS
$custom: #ac7eca;
$custom-light: #c6a4da;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7eca",
  "rgb": {
    "r": 172,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 276.316,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66666,
    "c": 0.1198,
    "h": 311.2
  },
  "luminance": 0.27957
}

Semantic roles & 50–950 ramp

primary
#AC7ECA
secondary
#CFDFC5
accent
#B53165
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F15
muted
#827F83

Preview Lab

Preview with #AC7ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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