#AC7CD2#AC7CD2

#AC7CD2 is a light, vivid violet. Relative luminance 0.278; OKLCH L 66.7% C 0.133 H 308.9°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#AC7CD2
RGBrgb(172, 124, 210)
HSLhsl(273, 49%, 65%)
HSVhsv(273, 41%, 82%)
CMYKcmyk(18.1%, 41%, 0%, 17.6%)
CIE-LABlab(59.74, 34.79, -37.33)
CIE-LCHlch(59.74, 51.02, 312.98°)
OKLaboklab(66.7% 0.0835 -0.1036)
OKLCHoklch(66.7% 0.133 308.9)
XYZxyz(35.8516, 27.8395, 64.4452)
Luminance0.2784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7CD2 #A2D27C
analogous
#817CD2 #AC7CD2 #D27CCD
triadic
#AC7CD2 #D2AC7C #7CD2AC
tetradic
#AC7CD2 #D2817C #A2D27C #7CCDD2
square
#AC7CD2 #D2817C #A2D27C #7CCDD2
split-complementary
#AC7CD2 #CDD27C #7CD281
monochromatic
#70369D #8F4EC2 #AC7CD2 #C9AAE2 #E6D7F1

Accessibility & contrast

On white

3.20
#AC7CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#AC7CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7CD2
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7CD2#FFFFFF#000000##000000
##AC7CD21.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8ED5
Deuteranopia (green-blind)
#7591D0
Tritanopia (blue-blind)
#A7899D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ac7cd2;
/* rgb */ color: rgb(172, 124, 210);
/* oklch */ color: oklch(66.7% 0.133 308.9);
Tailwind
colors: {
  custom: {
    50: '#c6a2e0',
    500: '#ac7cd2',
    950: '#000000',
  },
}
SCSS
$custom: #ac7cd2;
$custom-light: #c6a2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7cd2",
  "rgb": {
    "r": 172,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 273.488,
    "s": 48.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66701,
    "c": 0.13301,
    "h": 308.9
  },
  "luminance": 0.27839
}

Semantic roles & 50–950 ramp

primary
#AC7CD2
secondary
#D3E3C6
accent
#BC296A
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AC7CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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