#AC6CDC#AC6CDC

#AC6CDC is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.6% C 0.171 H 308.7°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AC6CDC
RGBrgb(172, 108, 220)
HSLhsl(274, 62%, 64%)
HSVhsv(274, 51%, 86%)
CMYKcmyk(21.8%, 50.9%, 0%, 13.7%)
CIE-LABlab(56.75, 45.81, -47.68)
CIE-LCHlch(56.75, 66.12, 313.86°)
OKLaboklab(64.62% 0.1072 -0.1335)
OKLCHoklch(64.62% 0.171 308.7)
XYZxyz(35.2916, 24.6636, 70.5977)
Luminance0.2466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC6CDC #9CDC6C
analogous
#746CDC #AC6CDC #DC6CD4
triadic
#AC6CDC #DCAC6C #6CDCAC
tetradic
#AC6CDC #DC746C #9CDC6C #6CD4DC
square
#AC6CDC #DC746C #9CDC6C #6CD4DC
split-complementary
#AC6CDC #D4DC6C #6CDC74
monochromatic
#7028A6 #903BD0 #AC6CDC #C89DE8 #E4CFF4

Accessibility & contrast

On white

3.54
#AC6CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#AC6CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC6CDC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC6CDC#FFFFFF#000000##000000
##AC6CDC1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D85E0
Deuteranopia (green-blind)
#6089D9
Tritanopia (blue-blind)
#A57F9A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ac6cdc;
/* rgb */ color: rgb(172, 108, 220);
/* oklch */ color: oklch(64.6% 0.171 308.7);
Tailwind
colors: {
  custom: {
    50: '#c798e7',
    500: '#ac6cdc',
    950: '#000000',
  },
}
SCSS
$custom: #ac6cdc;
$custom-light: #c798e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac6cdc",
  "rgb": {
    "r": 172,
    "g": 108,
    "b": 220
  },
  "hsl": {
    "h": 274.286,
    "s": 61.538,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6462,
    "c": 0.17119,
    "h": 308.7
  },
  "luminance": 0.24663
}

Semantic roles & 50–950 ramp

primary
#AC6CDC
secondary
#CFE5BE
accent
#C91C66
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AC6CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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