#AC5CDF#AC5CDF

#AC5CDF is a light, vivid violet. Relative luminance 0.218; OKLCH L 62.5% C 0.199 H 310.0°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AC5CDF
RGBrgb(172, 92, 223)
HSLhsl(277, 67%, 62%)
HSVhsv(277, 59%, 87%)
CMYKcmyk(22.9%, 58.7%, 0%, 12.5%)
CIE-LABlab(53.76, 54.77, -54.12)
CIE-LCHlch(53.76, 77.00, 315.35°)
OKLaboklab(62.48% 0.1279 -0.1523)
OKLCHoklch(62.48% 0.199 310)
XYZxyz(34.1571, 21.7533, 72.1972)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5CDF #8FDF5C
analogous
#6B5CDF #AC5CDF #DF5CD1
triadic
#AC5CDF #DFAC5C #5CDFAC
tetradic
#AC5CDF #DF6B5C #8FDF5C #5CD1DF
square
#AC5CDF #DF6B5C #8FDF5C #5CD1DF
split-complementary
#AC5CDF #D1DF5C #5CDF6B
monochromatic
#6F20A1 #922AD4 #AC5CDF #C68FE9 #E0C2F3

Accessibility & contrast

On white

3.92
#AC5CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#AC5CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5CDF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5CDF#FFFFFF#000000##000000
##AC5CDF1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7DE3
Deuteranopia (green-blind)
#4E82DC
Tritanopia (blue-blind)
#A57495
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ac5cdf;
/* rgb */ color: rgb(172, 92, 223);
/* oklch */ color: oklch(62.5% 0.199 310.0);
Tailwind
colors: {
  custom: {
    50: '#c88eea',
    500: '#ac5cdf',
    950: '#000000',
  },
}
SCSS
$custom: #ac5cdf;
$custom-light: #c88eea;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5cdf",
  "rgb": {
    "r": 172,
    "g": 92,
    "b": 223
  },
  "hsl": {
    "h": 276.641,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.62481,
    "c": 0.19886,
    "h": 310
  },
  "luminance": 0.21753
}

Semantic roles & 50–950 ramp

primary
#AC5CDF
secondary
#C6E4B3
accent
#CF165E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #AC5CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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