#AC4FEC#AC4FEC

#AC4FEC is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.7% C 0.230 H 308.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#AC4FEC
RGBrgb(172, 79, 236)
HSLhsl(276, 81%, 62%)
HSVhsv(276, 67%, 93%)
CMYKcmyk(27.1%, 66.5%, 0%, 7.5%)
CIE-LABlab(52.31, 63.77, -63.78)
CIE-LCHlch(52.31, 90.19, 315.00°)
OKLaboklab(61.68% 0.1423 -0.1805)
OKLCHoklch(61.68% 0.23 308.2)
XYZxyz(34.9465, 20.4193, 81.4410)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4FEC #8FEC4F
analogous
#5E4FEC #AC4FEC #EC4FDE
triadic
#AC4FEC #ECAC4F #4FECAC
tetradic
#AC4FEC #EC5E4F #8FEC4F #4FDEEC
square
#AC4FEC #EC5E4F #8FEC4F #4FDEEC
split-complementary
#AC4FEC #DEEC4F #4FEC5E
monochromatic
#6F13AE #9219E5 #AC4FEC #C686F2 #E0BDF8

Accessibility & contrast

On white

4.13
#AC4FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#AC4FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4FEC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4FEC#FFFFFF#000000##000000
##AC4FEC1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#2E7EE9
Tritanopia (blue-blind)
#A27197
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ac4fec;
/* rgb */ color: rgb(172, 79, 236);
/* oklch */ color: oklch(61.7% 0.230 308.2);
Tailwind
colors: {
  custom: {
    50: '#c987f3',
    500: '#ac4fec',
    950: '#000000',
  },
}
SCSS
$custom: #ac4fec;
$custom-light: #c987f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4fec",
  "rgb": {
    "r": 172,
    "g": 79,
    "b": 236
  },
  "hsl": {
    "h": 275.541,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61683,
    "c": 0.22984,
    "h": 308.2
  },
  "luminance": 0.20419
}

Semantic roles & 50–950 ramp

primary
#AC4FEC
secondary
#C6E8AE
accent
#DD095F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC4FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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