#AC5CE2#AC5CE2

#AC5CE2 is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 62.7% C 0.202 H 309.3°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#AC5CE2
RGBrgb(172, 92, 226)
HSLhsl(276, 70%, 62%)
HSVhsv(276, 59%, 89%)
CMYKcmyk(23.9%, 59.3%, 0%, 11.4%)
CIE-LABlab(53.94, 55.43, -55.53)
CIE-LCHlch(53.94, 78.46, 314.95°)
OKLaboklab(62.66% 0.1279 -0.1564)
OKLCHoklch(62.66% 0.202 309.3)
XYZxyz(34.5652, 21.9165, 74.3462)
Luminance0.2192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5CE2 #92E25C
analogous
#695CE2 #AC5CE2 #E25CD5
triadic
#AC5CE2 #E2AC5C #5CE2AC
tetradic
#AC5CE2 #E2695C #92E25C #5CD5E2
square
#AC5CE2 #E2695C #92E25C #5CD5E2
split-complementary
#AC5CE2 #D5E25C #5CE269
monochromatic
#6F1EA6 #9228D9 #AC5CE2 #C690EB #E1C4F4

Accessibility & contrast

On white

3.90
#AC5CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#AC5CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5CE2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5CE2#FFFFFF#000000##000000
##AC5CE21.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#267DE6
Deuteranopia (green-blind)
#4B82DF
Tritanopia (blue-blind)
#A57696
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ac5ce2;
/* rgb */ color: rgb(172, 92, 226);
/* oklch */ color: oklch(62.7% 0.202 309.3);
Tailwind
colors: {
  custom: {
    50: '#c88eec',
    500: '#ac5ce2',
    950: '#000000',
  },
}
SCSS
$custom: #ac5ce2;
$custom-light: #c88eec;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5ce2",
  "rgb": {
    "r": 172,
    "g": 92,
    "b": 226
  },
  "hsl": {
    "h": 275.821,
    "s": 69.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62664,
    "c": 0.20206,
    "h": 309.3
  },
  "luminance": 0.21916
}

Semantic roles & 50–950 ramp

primary
#AC5CE2
secondary
#C8E5B4
accent
#D21460
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #AC5CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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