#AC5FF4#AC5FF4

#AC5FF4 is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.2% C 0.217 H 304.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AC5FF4
RGBrgb(172, 95, 244)
HSLhsl(271, 87%, 66%)
HSVhsv(271, 61%, 96%)
CMYKcmyk(29.5%, 61.1%, 0%, 4.3%)
CIE-LABlab(55.57, 58.00, -62.99)
CIE-LCHlch(55.57, 85.63, 312.64°)
OKLaboklab(64.2% 0.124 -0.1783)
OKLCHoklch(64.2% 0.217 304.8)
XYZxyz(37.4310, 23.4869, 88.1319)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FF4 #A7F45F
analogous
#625FF4 #AC5FF4 #F45FF1
triadic
#AC5FF4 #F4AC5F #5FF4AC
tetradic
#AC5FF4 #F4625F #A7F45F #5FF1F4
square
#AC5FF4 #F4625F #A7F45F #5FF1F4
split-complementary
#AC5FF4 #F1F45F #5FF462
monochromatic
#6F0ECB #8E26F0 #AC5FF4 #CA98F8 #E7D2FC

Accessibility & contrast

On white

3.69
#AC5FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#AC5FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FF4
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FF4#FFFFFF#000000##000000
##AC5FF41.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083F9
Deuteranopia (green-blind)
#3B85F1
Tritanopia (blue-blind)
#9F7EA1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ac5ff4;
/* rgb */ color: rgb(172, 95, 244);
/* oklch */ color: oklch(64.2% 0.217 304.8);
Tailwind
colors: {
  custom: {
    50: '#c990f8',
    500: '#ac5ff4',
    950: '#000000',
  },
}
SCSS
$custom: #ac5ff4;
$custom-light: #c990f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5ff4",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 244
  },
  "hsl": {
    "h": 271.007,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64197,
    "c": 0.21716,
    "h": 304.8
  },
  "luminance": 0.23487
}

Semantic roles & 50–950 ramp

primary
#AC5FF4
secondary
#D7F0BF
accent
#E4026F
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AC5FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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