#AC4EF1#AC4EF1

#AC4EF1 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.9% C 0.236 H 307.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AC4EF1
RGBrgb(172, 78, 241)
HSLhsl(275, 85%, 63%)
HSVhsv(275, 68%, 95%)
CMYKcmyk(28.6%, 67.6%, 0%, 5.5%)
CIE-LABlab(52.48, 65.30, -66.31)
CIE-LCHlch(52.48, 93.06, 314.56°)
OKLaboklab(61.91% 0.1428 -0.1879)
OKLCHoklch(61.91% 0.236 307.2)
XYZxyz(35.6115, 20.5708, 85.2966)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4EF1 #93F14E
analogous
#5A4EF1 #AC4EF1 #F14EE5
triadic
#AC4EF1 #F1AC4E #4EF1AC
tetradic
#AC4EF1 #F15A4E #93F14E #4EE5F1
square
#AC4EF1 #F15A4E #93F14E #4EE5F1
split-complementary
#AC4EF1 #E5F14E #4EF15A
monochromatic
#6F0EB6 #9115ED #AC4EF1 #C787F5 #E1BFFA

Accessibility & contrast

On white

4.11
#AC4EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#AC4EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4EF1
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4EF1#FFFFFF#000000##000000
##AC4EF11.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF6
Deuteranopia (green-blind)
#237EED
Tritanopia (blue-blind)
#A1729A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ac4ef1;
/* rgb */ color: rgb(172, 78, 241);
/* oklch */ color: oklch(61.9% 0.236 307.2);
Tailwind
colors: {
  custom: {
    50: '#ca86f7',
    500: '#ac4ef1',
    950: '#000000',
  },
}
SCSS
$custom: #ac4ef1;
$custom-light: #ca86f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4ef1",
  "rgb": {
    "r": 172,
    "g": 78,
    "b": 241
  },
  "hsl": {
    "h": 274.601,
    "s": 85.34,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61907,
    "c": 0.23603,
    "h": 307.2
  },
  "luminance": 0.2057
}

Semantic roles & 50–950 ramp

primary
#AC4EF1
secondary
#C9EBB0
accent
#E20462
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC4EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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