#AC5FEF#AC5FEF

#AC5FEF is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 63.9% C 0.212 H 305.9°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AC5FEF
RGBrgb(172, 95, 239)
HSLhsl(272, 82%, 65%)
HSVhsv(272, 60%, 94%)
CMYKcmyk(28%, 60.3%, 0%, 6.3%)
CIE-LABlab(55.26, 56.86, -60.70)
CIE-LCHlch(55.26, 83.17, 313.13°)
OKLaboklab(63.88% 0.1242 -0.1715)
OKLCHoklch(63.88% 0.212 305.9)
XYZxyz(36.6821, 23.1874, 84.1878)
Luminance0.2319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FEF #A2EF5F
analogous
#645FEF #AC5FEF #EF5FEA
triadic
#AC5FEF #EFAC5F #5FEFAC
tetradic
#AC5FEF #EF645F #A2EF5F #5FEAEF
square
#AC5FEF #EF645F #A2EF5F #5FEAEF
split-complementary
#AC5FEF #EAEF5F #5FEF64
monochromatic
#7013C0 #8F27E9 #AC5FEF #C997F5 #E6CEFA

Accessibility & contrast

On white

3.73
#AC5FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#AC5FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FEF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FEF#FFFFFF#000000##000000
##AC5FEF1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1382F4
Deuteranopia (green-blind)
#4185EC
Tritanopia (blue-blind)
#A17C9E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ac5fef;
/* rgb */ color: rgb(172, 95, 239);
/* oklch */ color: oklch(63.9% 0.212 305.9);
Tailwind
colors: {
  custom: {
    50: '#c990f5',
    500: '#ac5fef',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fef;
$custom-light: #c990f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fef",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 272.083,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63877,
    "c": 0.21176,
    "h": 305.9
  },
  "luminance": 0.23187
}

Semantic roles & 50–950 ramp

primary
#AC5FEF
secondary
#D3EDBD
accent
#DE076B
background
#FCF9FF
surface
#F9F1FE
border
#D2CBD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #AC5FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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