#AC74F8#AC74F8

#AC74F8 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.5% C 0.192 H 301.0°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#AC74F8
RGBrgb(172, 116, 248)
HSLhsl(265, 90%, 71%)
HSVhsv(265, 53%, 97%)
CMYKcmyk(30.6%, 53.2%, 0%, 2.7%)
CIE-LABlab(59.92, 48.05, -58.23)
CIE-LCHlch(59.92, 75.50, 309.53°)
OKLaboklab(67.46% 0.0987 -0.1644)
OKLCHoklch(67.46% 0.192 301)
XYZxyz(40.1980, 28.0386, 92.0830)
Luminance0.2804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC74F8 #C0F874
analogous
#747EF8 #AC74F8 #EE74F8
triadic
#AC74F8 #F8AC74 #74F8AC
tetradic
#AC74F8 #F8747E #C0F874 #74F8EE
square
#AC74F8 #F8747E #C0F874 #74F8EE
split-complementary
#AC74F8 #F8EE74 #7EF874
monochromatic
#680CE6 #893AF5 #AC74F8 #CFAEFB #EEE2FE

Accessibility & contrast

On white

3.18
#AC74F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#AC74F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC74F8
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC74F8#FFFFFF#000000##000000
##AC74F81.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4290FC
Deuteranopia (green-blind)
#5490F5
Tritanopia (blue-blind)
#9D8EAB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ac74f8;
/* rgb */ color: rgb(172, 116, 248);
/* oklch */ color: oklch(67.5% 0.192 301.0);
Tailwind
colors: {
  custom: {
    50: '#c89efb',
    500: '#ac74f8',
    950: '#000000',
  },
}
SCSS
$custom: #ac74f8;
$custom-light: #c89efb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac74f8",
  "rgb": {
    "r": 172,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 265.455,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67461,
    "c": 0.19174,
    "h": 301
  },
  "luminance": 0.28039
}

Semantic roles & 50–950 ramp

primary
#AC74F8
secondary
#E6F5D3
accent
#E60084
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC74F8

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

Preview Lab → · Contrast checker → · Palette generator →

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