#AC5FDA#AC5FDA

#AC5FDA is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.6% C 0.189 H 311.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AC5FDA
RGBrgb(172, 95, 218)
HSLhsl(278, 62%, 61%)
HSVhsv(278, 56%, 85%)
CMYKcmyk(21.1%, 56.4%, 0%, 14.5%)
CIE-LABlab(54.05, 52.17, -50.84)
CIE-LCHlch(54.05, 72.85, 315.74°)
OKLaboklab(62.6% 0.1241 -0.1427)
OKLCHoklch(62.6% 0.189 311)
XYZxyz(33.7580, 22.0177, 68.7876)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FDA #8DDA5F
analogous
#6F5FDA #AC5FDA #DA5FCB
triadic
#AC5FDA #DAAC5F #5FDAAC
tetradic
#AC5FDA #DA6F5F #8DDA5F #5FCBDA
square
#AC5FDA #DA6F5F #8DDA5F #5FCBDA
split-complementary
#AC5FDA #CBDA5F #5FDA6F
monochromatic
#6E249B #922FCD #AC5FDA #C691E5 #E0C2F1

Accessibility & contrast

On white

3.89
#AC5FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#AC5FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FDA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FDA#FFFFFF#000000##000000
##AC5FDA1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#387DDE
Deuteranopia (green-blind)
#5583D7
Tritanopia (blue-blind)
#A67594
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ac5fda;
/* rgb */ color: rgb(172, 95, 218);
/* oklch */ color: oklch(62.6% 0.189 311.0);
Tailwind
colors: {
  custom: {
    50: '#c890e6',
    500: '#ac5fda',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fda;
$custom-light: #c890e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fda",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 218
  },
  "hsl": {
    "h": 277.561,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62596,
    "c": 0.18907,
    "h": 311
  },
  "luminance": 0.22017
}

Semantic roles & 50–950 ramp

primary
#AC5FDA
secondary
#C5E1B3
accent
#CA1B5D
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AC5FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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