#AC5FE4#AC5FE4

#AC5FE4 is a light, vivid violet. Relative luminance 0.226; OKLCH L 63.2% C 0.200 H 308.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AC5FE4
RGBrgb(172, 95, 228)
HSLhsl(275, 71%, 63%)
HSVhsv(275, 58%, 89%)
CMYKcmyk(24.6%, 58.3%, 0%, 10.6%)
CIE-LABlab(54.61, 54.38, -55.58)
CIE-LCHlch(54.61, 77.75, 314.38°)
OKLaboklab(63.19% 0.1243 -0.1565)
OKLCHoklch(63.19% 0.2 308.4)
XYZxyz(35.1063, 22.5570, 75.8883)
Luminance0.2256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FE4 #97E45F
analogous
#695FE4 #AC5FE4 #E45FD9
triadic
#AC5FE4 #E4AC5F #5FE4AC
tetradic
#AC5FE4 #E4695F #97E45F #5FD9E4
square
#AC5FE4 #E4695F #97E45F #5FD9E4
split-complementary
#AC5FE4 #D9E45F #5FE469
monochromatic
#701DAC #912BDB #AC5FE4 #C793ED #E2C8F6

Accessibility & contrast

On white

3.81
#AC5FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#AC5FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FE4
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FE4#FFFFFF#000000##000000
##AC5FE41.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B80E8
Deuteranopia (green-blind)
#4C84E1
Tritanopia (blue-blind)
#A47899
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ac5fe4;
/* rgb */ color: rgb(172, 95, 228);
/* oklch */ color: oklch(63.2% 0.200 308.4);
Tailwind
colors: {
  custom: {
    50: '#c890ed',
    500: '#ac5fe4',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fe4;
$custom-light: #c890ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fe4",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 228
  },
  "hsl": {
    "h": 274.737,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63193,
    "c": 0.19987,
    "h": 308.4
  },
  "luminance": 0.22557
}

Semantic roles & 50–950 ramp

primary
#AC5FE4
secondary
#CCE7B8
accent
#D31264
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AC5FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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