#AC5CF4#AC5CF4

#AC5CF4 is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.8% C 0.221 H 305.2°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#AC5CF4
RGBrgb(172, 92, 244)
HSLhsl(272, 87%, 66%)
HSVhsv(272, 62%, 96%)
CMYKcmyk(29.5%, 62.3%, 0%, 4.3%)
CIE-LABlab(55.03, 59.47, -63.87)
CIE-LCHlch(55.03, 87.27, 312.96°)
OKLaboklab(63.8% 0.1274 -0.1808)
OKLCHoklch(63.8% 0.221 305.2)
XYZxyz(37.1660, 22.9568, 88.0436)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5CF4 #A4F45C
analogous
#605CF4 #AC5CF4 #F45CF0
triadic
#AC5CF4 #F4AC5C #5CF4AC
tetradic
#AC5CF4 #F4605C #A4F45C #5CF0F4
square
#AC5CF4 #F4605C #A4F45C #5CF0F4
split-complementary
#AC5CF4 #F0F45C #5CF460
monochromatic
#700EC8 #8F23F0 #AC5CF4 #C995F8 #E6CFFC

Accessibility & contrast

On white

3.76
#AC5CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#AC5CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5CF4
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5CF4#FFFFFF#000000##000000
##AC5CF41.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac5cf4;
/* rgb */ color: rgb(172, 92, 244);
/* oklch */ color: oklch(63.8% 0.221 305.2);
Tailwind
colors: {
  custom: {
    50: '#c98ef9',
    500: '#ac5cf4',
    950: '#000000',
  },
}
SCSS
$custom: #ac5cf4;
$custom-light: #c98ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5cf4",
  "rgb": {
    "r": 172,
    "g": 92,
    "b": 244
  },
  "hsl": {
    "h": 271.579,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63804,
    "c": 0.22122,
    "h": 305.2
  },
  "luminance": 0.22957
}

Semantic roles & 50–950 ramp

primary
#AC5CF4
secondary
#D5EFBD
accent
#E4026D
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AC5CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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