#AC5EF4#AC5EF4

#AC5EF4 is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 64.1% C 0.219 H 304.9°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AC5EF4
RGBrgb(172, 94, 244)
HSLhsl(271, 87%, 66%)
HSVhsv(271, 61%, 96%)
CMYKcmyk(29.5%, 61.5%, 0%, 4.3%)
CIE-LABlab(55.39, 58.50, -63.29)
CIE-LCHlch(55.39, 86.18, 312.75°)
OKLaboklab(64.07% 0.1251 -0.1791)
OKLCHoklch(64.07% 0.219 304.9)
XYZxyz(37.3415, 23.3079, 88.1021)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5EF4 #A6F45E
analogous
#615EF4 #AC5EF4 #F45EF1
triadic
#AC5EF4 #F4AC5E #5EF4AC
tetradic
#AC5EF4 #F4615E #A6F45E #5EF1F4
square
#AC5EF4 #F4615E #A6F45E #5EF1F4
split-complementary
#AC5EF4 #F1F45E #5EF461
monochromatic
#700ECA #8E25F0 #AC5EF4 #CA97F8 #E7D1FC

Accessibility & contrast

On white

3.71
#AC5EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#AC5EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5EF4
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5EF4#FFFFFF#000000##000000
##AC5EF41.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F9
Deuteranopia (green-blind)
#3A85F1
Tritanopia (blue-blind)
#9F7DA1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ac5ef4;
/* rgb */ color: rgb(172, 94, 244);
/* oklch */ color: oklch(64.1% 0.219 304.9);
Tailwind
colors: {
  custom: {
    50: '#c98ff8',
    500: '#ac5ef4',
    950: '#000000',
  },
}
SCSS
$custom: #ac5ef4;
$custom-light: #c98ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5ef4",
  "rgb": {
    "r": 172,
    "g": 94,
    "b": 244
  },
  "hsl": {
    "h": 271.2,
    "s": 87.209,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64065,
    "c": 0.21852,
    "h": 304.9
  },
  "luminance": 0.23308
}

Semantic roles & 50–950 ramp

primary
#AC5EF4
secondary
#D6EFBE
accent
#E4026E
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AC5EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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