#AC7FCE#AC7FCE

#AC7FCE is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.0% C 0.123 H 309.6°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#AC7FCE
RGBrgb(172, 127, 206)
HSLhsl(274, 45%, 65%)
HSVhsv(274, 38%, 81%)
CMYKcmyk(16.5%, 38.3%, 0%, 19.2%)
CIE-LABlab(60.25, 32.21, -34.28)
CIE-LCHlch(60.25, 47.04, 313.22°)
OKLaboklab(67.03% 0.0783 -0.0948)
OKLCHoklch(67.03% 0.123 309.6)
XYZxyz(35.7412, 28.4061, 61.9806)
Luminance0.2841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7FCE #A1CE7F
analogous
#847FCE #AC7FCE #CE7FC9
triadic
#AC7FCE #CEAC7F #7FCEAC
tetradic
#AC7FCE #CE847F #A1CE7F #7FC9CE
square
#AC7FCE #CE847F #A1CE7F #7FC9CE
split-complementary
#AC7FCE #C9CE7F #7FCE84
monochromatic
#703A98 #8F53BD #AC7FCE #C9ABDF #E5D8F0

Accessibility & contrast

On white

3.14
#AC7FCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#AC7FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7FCE
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7FCE#FFFFFF#000000##000000
##AC7FCE1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8FD1
Deuteranopia (green-blind)
#7A92CC
Tritanopia (blue-blind)
#A88B9D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ac7fce;
/* rgb */ color: rgb(172, 127, 206);
/* oklch */ color: oklch(67.0% 0.123 309.6);
Tailwind
colors: {
  custom: {
    50: '#c6a5dd',
    500: '#ac7fce',
    950: '#000000',
  },
}
SCSS
$custom: #ac7fce;
$custom-light: #c6a5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7fce",
  "rgb": {
    "r": 172,
    "g": 127,
    "b": 206
  },
  "hsl": {
    "h": 274.177,
    "s": 44.633,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67028,
    "c": 0.12297,
    "h": 309.6
  },
  "luminance": 0.28406
}

Semantic roles & 50–950 ramp

primary
#AC7FCE
secondary
#D3E2C7
accent
#B82E69
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AC7FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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