#AC4FEA#AC4FEA

#AC4FEA is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.5% C 0.228 H 308.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AC4FEA
RGBrgb(172, 79, 234)
HSLhsl(276, 79%, 61%)
HSVhsv(276, 66%, 92%)
CMYKcmyk(26.5%, 66.2%, 0%, 8.2%)
CIE-LABlab(52.18, 63.34, -62.86)
CIE-LCHlch(52.18, 89.23, 315.22°)
OKLaboklab(61.55% 0.1425 -0.1778)
OKLCHoklch(61.55% 0.228 308.7)
XYZxyz(34.6575, 20.3037, 79.9192)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4FEA #8DEA4F
analogous
#5F4FEA #AC4FEA #EA4FDB
triadic
#AC4FEA #EAAC4F #4FEAAC
tetradic
#AC4FEA #EA5F4F #8DEA4F #4FDBEA
square
#AC4FEA #EA5F4F #8DEA4F #4FDBEA
split-complementary
#AC4FEA #DBEA4F #4FEA5F
monochromatic
#6E14AA #921BE1 #AC4FEA #C686F1 #E0BCF7

Accessibility & contrast

On white

4.15
#AC4FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#AC4FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4FEA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4FEA#FFFFFF#000000##000000
##AC4FEA1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#317EE7
Tritanopia (blue-blind)
#A37096
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ac4fea;
/* rgb */ color: rgb(172, 79, 234);
/* oklch */ color: oklch(61.5% 0.228 308.7);
Tailwind
colors: {
  custom: {
    50: '#c986f2',
    500: '#ac4fea',
    950: '#000000',
  },
}
SCSS
$custom: #ac4fea;
$custom-light: #c986f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4fea",
  "rgb": {
    "r": 172,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 276,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61549,
    "c": 0.22786,
    "h": 308.7
  },
  "luminance": 0.20303
}

Semantic roles & 50–950 ramp

primary
#AC4FEA
secondary
#C5E7AD
accent
#DB0B5E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC4FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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