#AC5FE5#AC5FE5

#AC5FE5 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.3% C 0.201 H 308.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AC5FE5
RGBrgb(172, 95, 229)
HSLhsl(274, 72%, 64%)
HSVhsv(274, 59%, 90%)
CMYKcmyk(24.9%, 58.5%, 0%, 10.2%)
CIE-LABlab(54.67, 54.60, -56.05)
CIE-LCHlch(54.67, 78.25, 314.25°)
OKLaboklab(63.26% 0.1243 -0.1579)
OKLCHoklch(63.26% 0.201 308.2)
XYZxyz(35.2455, 22.6127, 76.6215)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FE5 #98E55F
analogous
#695FE5 #AC5FE5 #E55FDB
triadic
#AC5FE5 #E5AC5F #5FE5AC
tetradic
#AC5FE5 #E5695F #98E55F #5FDBE5
square
#AC5FE5 #E5695F #98E55F #5FDBE5
split-complementary
#AC5FE5 #DBE55F #5FE569
monochromatic
#701CAD #912ADC #AC5FE5 #C794EE #E3C8F6

Accessibility & contrast

On white

3.80
#AC5FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#AC5FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FE5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FE5#FFFFFF#000000##000000
##AC5FE51.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A80E9
Deuteranopia (green-blind)
#4C84E2
Tritanopia (blue-blind)
#A47999
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ac5fe5;
/* rgb */ color: rgb(172, 95, 229);
/* oklch */ color: oklch(63.3% 0.201 308.2);
Tailwind
colors: {
  custom: {
    50: '#c890ee',
    500: '#ac5fe5',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fe5;
$custom-light: #c890ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fe5",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 229
  },
  "hsl": {
    "h": 274.478,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63255,
    "c": 0.20095,
    "h": 308.2
  },
  "luminance": 0.22612
}

Semantic roles & 50–950 ramp

primary
#AC5FE5
secondary
#CCE8B8
accent
#D41164
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AC5FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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