#AC5BD8#AC5BD8

#AC5BD8 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.9% C 0.193 H 312.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AC5BD8
RGBrgb(172, 91, 216)
HSLhsl(279, 62%, 60%)
HSVhsv(279, 58%, 85%)
CMYKcmyk(20.4%, 57.9%, 0%, 15.3%)
CIE-LABlab(53.18, 53.75, -51.09)
CIE-LCHlch(53.18, 74.16, 316.45°)
OKLaboklab(61.93% 0.1291 -0.1434)
OKLCHoklch(61.93% 0.193 312)
XYZxyz(33.1468, 21.2115, 67.3005)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5BD8 #87D85B
analogous
#6D5BD8 #AC5BD8 #D85BC5
triadic
#AC5BD8 #D8AC5B #5BD8AC
tetradic
#AC5BD8 #D86D5B #87D85B #5BC5D8
square
#AC5BD8 #D86D5B #87D85B #5BC5D8
split-complementary
#AC5BD8 #C5D85B #5BD86D
monochromatic
#6D2395 #912FC7 #AC5BD8 #C58CE4 #DEBEF0

Accessibility & contrast

On white

4.01
#AC5BD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#AC5BD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5BD8
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5BD8#FFFFFF#000000##000000
##AC5BD81.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#327BDC
Deuteranopia (green-blind)
#5281D5
Tritanopia (blue-blind)
#A77191
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ac5bd8;
/* rgb */ color: rgb(172, 91, 216);
/* oklch */ color: oklch(61.9% 0.193 312.0);
Tailwind
colors: {
  custom: {
    50: '#c88de5',
    500: '#ac5bd8',
    950: '#000000',
  },
}
SCSS
$custom: #ac5bd8;
$custom-light: #c88de5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5bd8",
  "rgb": {
    "r": 172,
    "g": 91,
    "b": 216
  },
  "hsl": {
    "h": 278.88,
    "s": 61.576,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61927,
    "c": 0.19292,
    "h": 312
  },
  "luminance": 0.21211
}

Semantic roles & 50–950 ramp

primary
#AC5BD8
secondary
#C0DFAF
accent
#C91C59
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AC5BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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