#AC5DF2#AC5DF2

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

Color values

HEX#AC5DF2
RGBrgb(172, 93, 242)
HSLhsl(272, 85%, 66%)
HSVhsv(272, 62%, 95%)
CMYKcmyk(28.9%, 61.6%, 0%, 5.1%)
CIE-LABlab(55.08, 58.53, -62.66)
CIE-LCHlch(55.08, 85.74, 313.05°)
OKLaboklab(63.8% 0.1264 -0.1773)
OKLCHoklch(63.8% 0.218 305.5)
XYZxyz(36.9511, 23.0104, 86.4820)
Luminance0.2301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5DF2 #A3F25D
analogous
#615DF2 #AC5DF2 #F25DEE
triadic
#AC5DF2 #F2AC5D #5DF2AC
tetradic
#AC5DF2 #F2615D #A3F25D #5DEEF2
square
#AC5DF2 #F2615D #A3F25D #5DEEF2
split-complementary
#AC5DF2 #EEF25D #5DF261
monochromatic
#7010C5 #8F24ED #AC5DF2 #C996F7 #E6CEFB

Accessibility & contrast

On white

3.75
#AC5DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#AC5DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5DF2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5DF2#FFFFFF#000000##000000
##AC5DF21.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#3B84EF
Tritanopia (blue-blind)
#A07C9F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ac5df2;
/* rgb */ color: rgb(172, 93, 242);
/* oklch */ color: oklch(63.8% 0.218 305.5);
Tailwind
colors: {
  custom: {
    50: '#c98ff7',
    500: '#ac5df2',
    950: '#000000',
  },
}
SCSS
$custom: #ac5df2;
$custom-light: #c98ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5df2",
  "rgb": {
    "r": 172,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 271.812,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63804,
    "c": 0.21774,
    "h": 305.5
  },
  "luminance": 0.2301
}

Semantic roles & 50–950 ramp

primary
#AC5DF2
secondary
#D4EEBD
accent
#E2046C
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AC5DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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