#AC5DFC#AC5DFC

#AC5DFC is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 64.5% C 0.228 H 303.4°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#AC5DFC
RGBrgb(172, 93, 252)
HSLhsl(270, 96%, 68%)
HSVhsv(270, 63%, 99%)
CMYKcmyk(31.7%, 63.1%, 0%, 1.2%)
CIE-LABlab(55.71, 60.82, -67.20)
CIE-LCHlch(55.71, 90.64, 312.15°)
OKLaboklab(64.46% 0.1258 -0.1907)
OKLCHoklch(64.46% 0.228 303.4)
XYZxyz(38.4943, 23.6277, 94.6092)
Luminance0.2363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5DFC #ADFC5D
analogous
#5D5EFC #AC5DFC #FB5DFC
triadic
#AC5DFC #FCAC5D #5DFCAC
tetradic
#AC5DFC #FC5D5E #ADFC5D #5DFCFB
square
#AC5DFC #FC5D5E #ADFC5D #5DFCFB
split-complementary
#AC5DFC #FCFB5D #5EFC5D
monochromatic
#6F04DB #8D21FB #AC5DFC #CB99FD #EAD5FE

Accessibility & contrast

On white

3.67
#AC5DFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#AC5DFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5DFC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5DFC#FFFFFF#000000##000000
##AC5DFC1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#2B85F8
Tritanopia (blue-blind)
#9D7FA4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ac5dfc;
/* rgb */ color: rgb(172, 93, 252);
/* oklch */ color: oklch(64.5% 0.228 303.4);
Tailwind
colors: {
  custom: {
    50: '#ca8ffe',
    500: '#ac5dfc',
    950: '#000000',
  },
}
SCSS
$custom: #ac5dfc;
$custom-light: #ca8ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5dfc",
  "rgb": {
    "r": 172,
    "g": 93,
    "b": 252
  },
  "hsl": {
    "h": 269.811,
    "s": 96.364,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64461,
    "c": 0.22841,
    "h": 303.4
  },
  "luminance": 0.23628
}

Semantic roles & 50–950 ramp

primary
#AC5DFC
secondary
#DBF3C2
accent
#E60073
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AC5DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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