#AC4FED#AC4FED

#AC4FED is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.8% C 0.231 H 308.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AC4FED
RGBrgb(172, 79, 237)
HSLhsl(275, 81%, 62%)
HSVhsv(275, 67%, 93%)
CMYKcmyk(27.4%, 66.7%, 0%, 7.1%)
CIE-LABlab(52.37, 63.99, -64.23)
CIE-LCHlch(52.37, 90.66, 314.89°)
OKLaboklab(61.75% 0.1422 -0.1819)
OKLCHoklch(61.75% 0.231 308)
XYZxyz(35.0921, 20.4776, 82.2082)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4FED #90ED4F
analogous
#5D4FED #AC4FED #ED4FDF
triadic
#AC4FED #EDAC4F #4FEDAC
tetradic
#AC4FED #ED5D4F #90ED4F #4FDFED
square
#AC4FED #ED5D4F #90ED4F #4FDFED
split-complementary
#AC4FED #DFED4F #4FED5D
monochromatic
#6F12B0 #9218E7 #AC4FED #C687F3 #E0BEF8

Accessibility & contrast

On white

4.12
#AC4FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#AC4FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4FED
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4FED#FFFFFF#000000##000000
##AC4FED1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#2D7EEA
Tritanopia (blue-blind)
#A27198
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ac4fed;
/* rgb */ color: rgb(172, 79, 237);
/* oklch */ color: oklch(61.8% 0.231 308.0);
Tailwind
colors: {
  custom: {
    50: '#c987f4',
    500: '#ac4fed',
    950: '#000000',
  },
}
SCSS
$custom: #ac4fed;
$custom-light: #c987f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4fed",
  "rgb": {
    "r": 172,
    "g": 79,
    "b": 237
  },
  "hsl": {
    "h": 275.316,
    "s": 81.443,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6175,
    "c": 0.23084,
    "h": 308
  },
  "luminance": 0.20477
}

Semantic roles & 50–950 ramp

primary
#AC4FED
secondary
#C7E9AF
accent
#DE0860
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC4FED

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

Preview Lab → · Contrast checker → · Palette generator →

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