#AC5DF4#AC5DF4

#AC5DF4 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.9% C 0.220 H 305.0°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AC5DF4
RGBrgb(172, 93, 244)
HSLhsl(271, 87%, 66%)
HSVhsv(271, 62%, 96%)
CMYKcmyk(29.5%, 61.9%, 0%, 4.3%)
CIE-LABlab(55.21, 58.99, -63.58)
CIE-LCHlch(55.21, 86.73, 312.86°)
OKLaboklab(63.93% 0.1263 -0.18)
OKLCHoklch(63.93% 0.22 305)
XYZxyz(37.2532, 23.1312, 88.0726)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5DF4 #A5F45D
analogous
#605DF4 #AC5DF4 #F45DF0
triadic
#AC5DF4 #F4AC5D #5DF4AC
tetradic
#AC5DF4 #F4605D #A5F45D #5DF0F4
square
#AC5DF4 #F4605D #A5F45D #5DF0F4
split-complementary
#AC5DF4 #F0F45D #5DF460
monochromatic
#700EC9 #8F24F0 #AC5DF4 #C996F8 #E7D0FC

Accessibility & contrast

On white

3.73
#AC5DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#AC5DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5DF4
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5DF4#FFFFFF#000000##000000
##AC5DF41.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F9
Deuteranopia (green-blind)
#3884F1
Tritanopia (blue-blind)
#9F7CA0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ac5df4;
/* rgb */ color: rgb(172, 93, 244);
/* oklch */ color: oklch(63.9% 0.220 305.0);
Tailwind
colors: {
  custom: {
    50: '#c98ff8',
    500: '#ac5df4',
    950: '#000000',
  },
}
SCSS
$custom: #ac5df4;
$custom-light: #c98ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5df4",
  "rgb": {
    "r": 172,
    "g": 93,
    "b": 244
  },
  "hsl": {
    "h": 271.391,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63934,
    "c": 0.21987,
    "h": 305
  },
  "luminance": 0.23131
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC5DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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