#AC62DC#AC62DC

#AC62DC is a light, vivid violet. Relative luminance 0.227; OKLCH L 63.1% C 0.187 H 310.1°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AC62DC
RGBrgb(172, 98, 220)
HSLhsl(276, 64%, 62%)
HSVhsv(276, 55%, 86%)
CMYKcmyk(21.8%, 55.5%, 0%, 13.7%)
CIE-LABlab(54.73, 51.07, -50.88)
CIE-LCHlch(54.73, 72.09, 315.11°)
OKLaboklab(63.14% 0.1203 -0.1428)
OKLCHoklch(63.14% 0.187 310.1)
XYZxyz(34.2968, 22.6740, 70.2660)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC62DC #92DC62
analogous
#6F62DC #AC62DC #DC62CF
triadic
#AC62DC #DCAC62 #62DCAC
tetradic
#AC62DC #DC6F62 #92DC62 #62CFDC
square
#AC62DC #DC6F62 #92DC62 #62CFDC
split-complementary
#AC62DC #CFDC62 #62DC6F
monochromatic
#6F24A0 #9230D1 #AC62DC #C694E7 #E1C6F2

Accessibility & contrast

On white

3.79
#AC62DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#AC62DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC62DC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC62DC#FFFFFF#000000##000000
##AC62DC1.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C80E0
Deuteranopia (green-blind)
#5684D9
Tritanopia (blue-blind)
#A67896
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ac62dc;
/* rgb */ color: rgb(172, 98, 220);
/* oklch */ color: oklch(63.1% 0.187 310.1);
Tailwind
colors: {
  custom: {
    50: '#c891e7',
    500: '#ac62dc',
    950: '#000000',
  },
}
SCSS
$custom: #ac62dc;
$custom-light: #c891e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac62dc",
  "rgb": {
    "r": 172,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 276.393,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63137,
    "c": 0.18671,
    "h": 310.1
  },
  "luminance": 0.22673
}

Semantic roles & 50–950 ramp

primary
#AC62DC
secondary
#C8E3B7
accent
#CB1A60
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AC62DC

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

Preview Lab → · Contrast checker → · Palette generator →

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