#AC5FE7#AC5FE7

#AC5FE7 is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.4% C 0.203 H 307.7°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AC5FE7
RGBrgb(172, 95, 231)
HSLhsl(274, 74%, 64%)
HSVhsv(274, 59%, 91%)
CMYKcmyk(25.5%, 58.9%, 0%, 9.4%)
CIE-LABlab(54.79, 55.05, -56.98)
CIE-LCHlch(54.79, 79.23, 314.01°)
OKLaboklab(63.38% 0.1243 -0.1607)
OKLCHoklch(63.38% 0.203 307.7)
XYZxyz(35.5263, 22.7251, 78.1006)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FE7 #9AE75F
analogous
#685FE7 #AC5FE7 #E75FDE
triadic
#AC5FE7 #E7AC5F #5FE7AC
tetradic
#AC5FE7 #E7685F #9AE75F #5FDEE7
square
#AC5FE7 #E7685F #9AE75F #5FDEE7
split-complementary
#AC5FE7 #DEE75F #5FE768
monochromatic
#701BB1 #902ADF #AC5FE7 #C894EF #E3C9F7

Accessibility & contrast

On white

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

On black

5.55
#AC5FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FE7
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FE7#FFFFFF#000000##000000
##AC5FE71.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2680EB
Deuteranopia (green-blind)
#4A84E4
Tritanopia (blue-blind)
#A3799A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ac5fe7;
/* rgb */ color: rgb(172, 95, 231);
/* oklch */ color: oklch(63.4% 0.203 307.7);
Tailwind
colors: {
  custom: {
    50: '#c890ef',
    500: '#ac5fe7',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fe7;
$custom-light: #c890ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fe7",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 231
  },
  "hsl": {
    "h": 273.971,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63377,
    "c": 0.20311,
    "h": 307.7
  },
  "luminance": 0.22725
}

Semantic roles & 50–950 ramp

primary
#AC5FE7
secondary
#CEE9B9
accent
#D60F66
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AC5FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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