#AC5FE0#AC5FE0

#AC5FE0 is a light, vivid violet. Relative luminance 0.223; OKLCH L 63.0% C 0.196 H 309.4°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AC5FE0
RGBrgb(172, 95, 224)
HSLhsl(276, 68%, 63%)
HSVhsv(276, 58%, 88%)
CMYKcmyk(23.2%, 57.6%, 0%, 12.2%)
CIE-LABlab(54.38, 53.49, -53.69)
CIE-LCHlch(54.38, 75.79, 314.89°)
OKLaboklab(62.95% 0.1242 -0.151)
OKLCHoklch(62.95% 0.196 309.4)
XYZxyz(34.5574, 22.3375, 72.9977)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FE0 #93E05F
analogous
#6C5FE0 #AC5FE0 #E05FD3
triadic
#AC5FE0 #E0AC5F #5FE0AC
tetradic
#AC5FE0 #E06C5F #93E05F #5FD3E0
square
#AC5FE0 #E06C5F #93E05F #5FD3E0
split-complementary
#AC5FE0 #D3E05F #5FE06C
monochromatic
#6F20A5 #912CD6 #AC5FE0 #C792EA #E1C6F4

Accessibility & contrast

On white

3.84
#AC5FE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#AC5FE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FE0
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FE0#FFFFFF#000000##000000
##AC5FE01.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#317FE4
Deuteranopia (green-blind)
#5083DD
Tritanopia (blue-blind)
#A57797
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ac5fe0;
/* rgb */ color: rgb(172, 95, 224);
/* oklch */ color: oklch(63.0% 0.196 309.4);
Tailwind
colors: {
  custom: {
    50: '#c890ea',
    500: '#ac5fe0',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fe0;
$custom-light: #c890ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fe0",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 224
  },
  "hsl": {
    "h": 275.814,
    "s": 67.539,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62952,
    "c": 0.19555,
    "h": 309.4
  },
  "luminance": 0.22337
}

Semantic roles & 50–950 ramp

primary
#AC5FE0
secondary
#C9E5B6
accent
#CF1661
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AC5FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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