#AC5FFC#AC5FFC

#AC5FFC is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.7% C 0.226 H 303.2°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AC5FFC
RGBrgb(172, 95, 252)
HSLhsl(269, 96%, 68%)
HSVhsv(269, 62%, 99%)
CMYKcmyk(31.7%, 62.3%, 0%, 1.2%)
CIE-LABlab(56.07, 59.85, -66.63)
CIE-LCHlch(56.07, 89.56, 311.93°)
OKLaboklab(64.72% 0.1236 -0.189)
OKLCHoklch(64.72% 0.226 303.2)
XYZxyz(38.6721, 23.9834, 94.6685)
Luminance0.2398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FFC #AFFC5F
analogous
#5F60FC #AC5FFC #FB5FFC
triadic
#AC5FFC #FCAC5F #5FFCAC
tetradic
#AC5FFC #FC5F60 #AFFC5F #5FFCFB
square
#AC5FFC #FC5F60 #AFFC5F #5FFCFB
split-complementary
#AC5FFC #FCFB5F #60FC5F
monochromatic
#6E04DC #8D23FB #AC5FFC #CB9BFD #EAD7FE

Accessibility & contrast

On white

3.62
#AC5FFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#AC5FFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FFC
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FFC#FFFFFF#000000##000000
##AC5FFC1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#2F86F9
Tritanopia (blue-blind)
#9D81A5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ac5ffc;
/* rgb */ color: rgb(172, 95, 252);
/* oklch */ color: oklch(64.7% 0.226 303.2);
Tailwind
colors: {
  custom: {
    50: '#ca90fe',
    500: '#ac5ffc',
    950: '#000000',
  },
}
SCSS
$custom: #ac5ffc;
$custom-light: #ca90fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5ffc",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 252
  },
  "hsl": {
    "h": 269.427,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.6472,
    "c": 0.22579,
    "h": 303.2
  },
  "luminance": 0.23983
}

Semantic roles & 50–950 ramp

primary
#AC5FFC
secondary
#DCF3C3
accent
#E60075
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AC5FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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