#AC5FE9#AC5FE9

#AC5FE9 is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.5% C 0.205 H 307.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AC5FE9
RGBrgb(172, 95, 233)
HSLhsl(273, 76%, 64%)
HSVhsv(273, 59%, 91%)
CMYKcmyk(26.2%, 59.2%, 0%, 8.6%)
CIE-LABlab(54.91, 55.50, -57.92)
CIE-LCHlch(54.91, 80.21, 313.78°)
OKLaboklab(63.5% 0.1243 -0.1634)
OKLCHoklch(63.5% 0.205 307.3)
XYZxyz(35.8104, 22.8387, 79.5968)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FE9 #9CE95F
analogous
#675FE9 #AC5FE9 #E95FE1
triadic
#AC5FE9 #E9AC5F #5FE9AC
tetradic
#AC5FE9 #E9675F #9CE95F #5FE1E9
square
#AC5FE9 #E9675F #9CE95F #5FE1E9
split-complementary
#AC5FE9 #E1E95F #5FE967
monochromatic
#7019B5 #9029E2 #AC5FE9 #C895F0 #E4CBF8

Accessibility & contrast

On white

3.77
#AC5FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#AC5FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FE9
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FE9#FFFFFF#000000##000000
##AC5FE91.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2281ED
Deuteranopia (green-blind)
#4884E6
Tritanopia (blue-blind)
#A27A9B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ac5fe9;
/* rgb */ color: rgb(172, 95, 233);
/* oklch */ color: oklch(63.5% 0.205 307.3);
Tailwind
colors: {
  custom: {
    50: '#c890f1',
    500: '#ac5fe9',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fe9;
$custom-light: #c890f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fe9",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 233
  },
  "hsl": {
    "h": 273.478,
    "s": 75.824,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63501,
    "c": 0.20528,
    "h": 307.3
  },
  "luminance": 0.22838
}

Semantic roles & 50–950 ramp

primary
#AC5FE9
secondary
#CFEABA
accent
#D80D67
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AC5FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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