#AC7ECD#AC7ECD

#AC7ECD is a light, vivid violet. Relative luminance 0.281; OKLCH L 66.8% C 0.123 H 310.1°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#AC7ECD
RGBrgb(172, 126, 205)
HSLhsl(275, 44%, 65%)
HSVhsv(275, 39%, 80%)
CMYKcmyk(16.1%, 38.5%, 0%, 19.6%)
CIE-LABlab(59.98, 32.55, -34.15)
CIE-LCHlch(59.98, 47.18, 313.63°)
OKLaboklab(66.81% 0.0796 -0.0944)
OKLCHoklch(66.81% 0.123 310.1)
XYZxyz(35.4916, 28.1006, 61.3000)
Luminance0.2810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7ECD #9FCD7E
analogous
#857ECD #AC7ECD #CD7EC6
triadic
#AC7ECD #CDAC7E #7ECDAC
tetradic
#AC7ECD #CD857E #9FCD7E #7EC6CD
square
#AC7ECD #CD857E #9FCD7E #7EC6CD
split-complementary
#AC7ECD #C6CD7E #7ECD85
monochromatic
#703A96 #9052BC #AC7ECD #C8AADE #E5D6EF

Accessibility & contrast

On white

3.17
#AC7ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#AC7ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7ECD
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7ECD#FFFFFF#000000##000000
##AC7ECD1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8ED0
Deuteranopia (green-blind)
#7991CB
Tritanopia (blue-blind)
#A8899C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ac7ecd;
/* rgb */ color: rgb(172, 126, 205);
/* oklch */ color: oklch(66.8% 0.123 310.1);
Tailwind
colors: {
  custom: {
    50: '#c6a4dc',
    500: '#ac7ecd',
    950: '#000000',
  },
}
SCSS
$custom: #ac7ecd;
$custom-light: #c6a4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7ecd",
  "rgb": {
    "r": 172,
    "g": 126,
    "b": 205
  },
  "hsl": {
    "h": 274.937,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.66807,
    "c": 0.12346,
    "h": 310.1
  },
  "luminance": 0.281
}

Semantic roles & 50–950 ramp

primary
#AC7ECD
secondary
#D1E1C6
accent
#B72E67
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AC7ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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