#AC7FCA#AC7FCA

#AC7FCA is a light, moderate violet. Relative luminance 0.282; OKLCH L 66.8% C 0.118 H 311.0°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#AC7FCA
RGBrgb(172, 127, 202)
HSLhsl(276, 41%, 65%)
HSVhsv(276, 37%, 79%)
CMYKcmyk(14.9%, 37.1%, 0%, 20.8%)
CIE-LABlab(60.08, 31.33, -32.29)
CIE-LCHlch(60.08, 45.00, 314.14°)
OKLaboklab(66.84% 0.0775 -0.0891)
OKLCHoklch(66.84% 0.118 311)
XYZxyz(35.2614, 28.2142, 59.4540)
Luminance0.2821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7FCA #9DCA7F
analogous
#877FCA #AC7FCA #CA7FC2
triadic
#AC7FCA #CAAC7F #7FCAAC
tetradic
#AC7FCA #CA877F #9DCA7F #7FC2CA
square
#AC7FCA #CA877F #9DCA7F #7FC2CA
split-complementary
#AC7FCA #C2CA7F #7FCA87
monochromatic
#703C92 #9054B8 #AC7FCA #C8AADC #E4D6EE

Accessibility & contrast

On white

3.16
#AC7FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#AC7FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7FCA
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7FCA#FFFFFF#000000##000000
##AC7FCA1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#718FCD
Deuteranopia (green-blind)
#7B92C8
Tritanopia (blue-blind)
#A98A9B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ac7fca;
/* rgb */ color: rgb(172, 127, 202);
/* oklch */ color: oklch(66.8% 0.118 311.0);
Tailwind
colors: {
  custom: {
    50: '#c6a4da',
    500: '#ac7fca',
    950: '#000000',
  },
}
SCSS
$custom: #ac7fca;
$custom-light: #c6a4da;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7fca",
  "rgb": {
    "r": 172,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 276,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66842,
    "c": 0.11806,
    "h": 311
  },
  "luminance": 0.28214
}

Semantic roles & 50–950 ramp

primary
#AC7FCA
secondary
#D0DFC5
accent
#B43166
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F15
muted
#827F83

Preview Lab

Preview with #AC7FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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