#AC5FE8#AC5FE8

#AC5FE8 is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.4% C 0.204 H 307.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AC5FE8
RGBrgb(172, 95, 232)
HSLhsl(274, 75%, 64%)
HSVhsv(274, 59%, 91%)
CMYKcmyk(25.9%, 59.1%, 0%, 9%)
CIE-LABlab(54.85, 55.27, -57.45)
CIE-LCHlch(54.85, 79.72, 313.89°)
OKLaboklab(63.44% 0.1243 -0.162)
OKLCHoklch(63.44% 0.204 307.5)
XYZxyz(35.6680, 22.7817, 78.8466)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FE8 #9BE85F
analogous
#685FE8 #AC5FE8 #E85FDF
triadic
#AC5FE8 #E8AC5F #5FE8AC
tetradic
#AC5FE8 #E8685F #9BE85F #5FDFE8
square
#AC5FE8 #E8685F #9BE85F #5FDFE8
split-complementary
#AC5FE8 #DFE85F #5FE868
monochromatic
#701AB3 #9029E0 #AC5FE8 #C895F0 #E4CAF7

Accessibility & contrast

On white

3.78
#AC5FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#AC5FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FE8
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FE8#FFFFFF#000000##000000
##AC5FE81.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2480EC
Deuteranopia (green-blind)
#4984E5
Tritanopia (blue-blind)
#A37A9B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ac5fe8;
/* rgb */ color: rgb(172, 95, 232);
/* oklch */ color: oklch(63.4% 0.204 307.5);
Tailwind
colors: {
  custom: {
    50: '#c890f0',
    500: '#ac5fe8',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fe8;
$custom-light: #c890f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fe8",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 232
  },
  "hsl": {
    "h": 273.723,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63439,
    "c": 0.2042,
    "h": 307.5
  },
  "luminance": 0.22781
}

Semantic roles & 50–950 ramp

primary
#AC5FE8
secondary
#CEE9BA
accent
#D70E66
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AC5FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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