#AC5FE6#AC5FE6

#AC5FE6 is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.3% C 0.202 H 308.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AC5FE6
RGBrgb(172, 95, 230)
HSLhsl(274, 73%, 64%)
HSVhsv(274, 59%, 90%)
CMYKcmyk(25.2%, 58.7%, 0%, 9.8%)
CIE-LABlab(54.73, 54.83, -56.52)
CIE-LCHlch(54.73, 78.74, 314.13°)
OKLaboklab(63.32% 0.1243 -0.1593)
OKLCHoklch(63.32% 0.202 308)
XYZxyz(35.3855, 22.6687, 77.3590)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FE6 #99E65F
analogous
#685FE6 #AC5FE6 #E65FDD
triadic
#AC5FE6 #E6AC5F #5FE6AC
tetradic
#AC5FE6 #E6685F #99E65F #5FDDE6
square
#AC5FE6 #E6685F #99E65F #5FDDE6
split-complementary
#AC5FE6 #DDE65F #5FE668
monochromatic
#701BAF #912ADE #AC5FE6 #C794EE #E3C9F7

Accessibility & contrast

On white

3.79
#AC5FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#AC5FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FE6
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FE6#FFFFFF#000000##000000
##AC5FE61.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2880EA
Deuteranopia (green-blind)
#4B84E3
Tritanopia (blue-blind)
#A3799A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ac5fe6;
/* rgb */ color: rgb(172, 95, 230);
/* oklch */ color: oklch(63.3% 0.202 308.0);
Tailwind
colors: {
  custom: {
    50: '#c890ee',
    500: '#ac5fe6',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fe6;
$custom-light: #c890ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fe6",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 230
  },
  "hsl": {
    "h": 274.222,
    "s": 72.973,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63316,
    "c": 0.20203,
    "h": 308
  },
  "luminance": 0.22668
}

Semantic roles & 50–950 ramp

primary
#AC5FE6
secondary
#CDE8B9
accent
#D51065
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AC5FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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