#AC5FDC#AC5FDC

#AC5FDC is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.7% C 0.191 H 310.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#AC5FDC
RGBrgb(172, 95, 220)
HSLhsl(277, 64%, 62%)
HSVhsv(277, 57%, 86%)
CMYKcmyk(21.8%, 56.8%, 0%, 13.7%)
CIE-LABlab(54.16, 52.61, -51.80)
CIE-LCHlch(54.16, 73.83, 315.45°)
OKLaboklab(62.71% 0.1241 -0.1455)
OKLCHoklch(62.71% 0.191 310.5)
XYZxyz(34.0213, 22.1231, 70.1742)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FDC #8FDC5F
analogous
#6E5FDC #AC5FDC #DC5FCE
triadic
#AC5FDC #DCAC5F #5FDCAC
tetradic
#AC5FDC #DC6E5F #8FDC5F #5FCEDC
square
#AC5FDC #DC6E5F #8FDC5F #5FCEDC
split-complementary
#AC5FDC #CEDC5F #5FDC6E
monochromatic
#6F239E #922ED0 #AC5FDC #C691E7 #E0C3F2

Accessibility & contrast

On white

3.87
#AC5FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#AC5FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FDC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FDC#FFFFFF#000000##000000
##AC5FDC1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#367EE0
Deuteranopia (green-blind)
#5383D9
Tritanopia (blue-blind)
#A67695
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ac5fdc;
/* rgb */ color: rgb(172, 95, 220);
/* oklch */ color: oklch(62.7% 0.191 310.5);
Tailwind
colors: {
  custom: {
    50: '#c890e7',
    500: '#ac5fdc',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fdc;
$custom-light: #c890e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fdc",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 276.96,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.62713,
    "c": 0.19123,
    "h": 310.5
  },
  "luminance": 0.22122
}

Semantic roles & 50–950 ramp

primary
#AC5FDC
secondary
#C6E3B4
accent
#CC1A5E
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AC5FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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