#AC8CD7#AC8CD7

#AC8CD7 is a light, moderate violet. Relative luminance 0.324; OKLCH L 69.8% C 0.112 H 303.2°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#AC8CD7
RGBrgb(172, 140, 215)
HSLhsl(266, 48%, 70%)
HSVhsv(266, 35%, 84%)
CMYKcmyk(20%, 34.9%, 0%, 15.7%)
CIE-LABlab(63.70, 26.91, -33.96)
CIE-LCHlch(63.70, 43.33, 308.40°)
OKLaboklab(69.77% 0.0615 -0.0939)
OKLCHoklch(69.77% 0.112 303.2)
XYZxyz(38.6545, 32.4332, 68.5006)
Luminance0.3243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8CD7 #B7D78C
analogous
#8C92D7 #AC8CD7 #D28CD7
triadic
#AC8CD7 #D7AC8C #8CD7AC
tetradic
#AC8CD7 #D78C92 #B7D78C #8CD7D2
square
#AC8CD7 #D78C92 #B7D78C #8CD7D2
split-complementary
#AC8CD7 #D7D28C #92D78C
monochromatic
#6C3CAD #8B5FC7 #AC8CD7 #CDB9E7 #EEE7F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC8CD7#FFFFFF#000000##000000
##AC8CD71.002.817.497.49
#FFFFFF2.811.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9ADA
Deuteranopia (green-blind)
#829AD5
Tritanopia (blue-blind)
#A598A8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ac8cd7;
/* rgb */ color: rgb(172, 140, 215);
/* oklch */ color: oklch(69.8% 0.112 303.2);
Tailwind
colors: {
  custom: {
    50: '#c6aee3',
    500: '#ac8cd7',
    950: '#000000',
  },
}
SCSS
$custom: #ac8cd7;
$custom-light: #c6aee3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8cd7",
  "rgb": {
    "r": 172,
    "g": 140,
    "b": 215
  },
  "hsl": {
    "h": 265.6,
    "s": 48.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6977,
    "c": 0.11229,
    "h": 303.2
  },
  "luminance": 0.32433
}

Semantic roles & 50–950 ramp

primary
#AC8CD7
secondary
#E1EAD5
accent
#BC2A7D
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AC8CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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