#AC74FC#AC74FC

#AC74FC is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.7% C 0.196 H 300.2°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#AC74FC
RGBrgb(172, 116, 252)
HSLhsl(265, 96%, 72%)
HSVhsv(265, 54%, 99%)
CMYKcmyk(31.7%, 54%, 0%, 1.2%)
CIE-LABlab(60.15, 49.02, -60.08)
CIE-LCHlch(60.15, 77.54, 309.21°)
OKLaboklab(67.7% 0.0989 -0.1698)
OKLCHoklch(67.7% 0.196 300.2)
XYZxyz(40.8252, 28.2895, 95.3862)
Luminance0.2829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC74FC #C4FC74
analogous
#7480FC #AC74FC #F074FC
triadic
#AC74FC #FCAC74 #74FCAC
tetradic
#AC74FC #FC7480 #C4FC74 #74FCF0
square
#AC74FC #FC7480 #C4FC74 #74FCF0
split-complementary
#AC74FC #FCF074 #80FC74
monochromatic
#6605F0 #8838FB #AC74FC #D0B0FD #EDE1FE

Accessibility & contrast

On white

3.15
#AC74FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#AC74FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC74FC
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC74FC#FFFFFF#000000##000000
##AC74FC1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D91FF
Deuteranopia (green-blind)
#5090F9
Tritanopia (blue-blind)
#9C8FAD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ac74fc;
/* rgb */ color: rgb(172, 116, 252);
/* oklch */ color: oklch(67.7% 0.196 300.2);
Tailwind
colors: {
  custom: {
    50: '#c89efe',
    500: '#ac74fc',
    950: '#000000',
  },
}
SCSS
$custom: #ac74fc;
$custom-light: #c89efe;
$custom-dark: #000000;
JSON
{
  "hex": "#ac74fc",
  "rgb": {
    "r": 172,
    "g": 116,
    "b": 252
  },
  "hsl": {
    "h": 264.706,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.677,
    "c": 0.19648,
    "h": 300.2
  },
  "luminance": 0.2829
}

Semantic roles & 50–950 ramp

primary
#AC74FC
secondary
#E9F7D4
accent
#E60087
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AC74FC

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

Preview Lab → · Contrast checker → · Palette generator →

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