#AC5BDC#AC5BDC

#AC5BDC is a light, vivid violet. Relative luminance 0.214; OKLCH L 62.2% C 0.197 H 310.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AC5BDC
RGBrgb(172, 91, 220)
HSLhsl(278, 65%, 61%)
HSVhsv(278, 59%, 86%)
CMYKcmyk(21.8%, 58.6%, 0%, 13.7%)
CIE-LABlab(53.41, 54.62, -52.99)
CIE-LCHlch(53.41, 76.10, 315.86°)
OKLaboklab(62.17% 0.1291 -0.149)
OKLCHoklch(62.17% 0.197 310.9)
XYZxyz(33.6702, 21.4209, 70.0572)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5BDC #8BDC5B
analogous
#6B5BDC #AC5BDC #DC5BCC
triadic
#AC5BDC #DCAC5B #5BDCAC
tetradic
#AC5BDC #DC6B5B #8BDC5B #5BCCDC
square
#AC5BDC #DC6B5B #8BDC5B #5BCCDC
split-complementary
#AC5BDC #CCDC5B #5BDC6B
monochromatic
#6E219B #922CCE #AC5BDC #C68DE7 #DFC0F2

Accessibility & contrast

On white

3.97
#AC5BDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#AC5BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5BDC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5BDC#FFFFFF#000000##000000
##AC5BDC1.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7CE0
Deuteranopia (green-blind)
#4F81D9
Tritanopia (blue-blind)
#A67393
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ac5bdc;
/* rgb */ color: rgb(172, 91, 220);
/* oklch */ color: oklch(62.2% 0.197 310.9);
Tailwind
colors: {
  custom: {
    50: '#c88de7',
    500: '#ac5bdc',
    950: '#000000',
  },
}
SCSS
$custom: #ac5bdc;
$custom-light: #c88de7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5bdc",
  "rgb": {
    "r": 172,
    "g": 91,
    "b": 220
  },
  "hsl": {
    "h": 277.674,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62165,
    "c": 0.19714,
    "h": 310.9
  },
  "luminance": 0.2142
}

Semantic roles & 50–950 ramp

primary
#AC5BDC
secondary
#C3E2B1
accent
#CD195C
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AC5BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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