#AC74FB#AC74FB

#AC74FB is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.6% C 0.195 H 300.4°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#AC74FB
RGBrgb(172, 116, 251)
HSLhsl(265, 94%, 72%)
HSVhsv(265, 54%, 98%)
CMYKcmyk(31.5%, 53.8%, 0%, 1.6%)
CIE-LABlab(60.09, 48.78, -59.62)
CIE-LCHlch(60.09, 77.03, 309.29°)
OKLaboklab(67.64% 0.0988 -0.1684)
OKLCHoklch(67.64% 0.195 300.4)
XYZxyz(40.6671, 28.2262, 94.5538)
Luminance0.2823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC74FB #C3FB74
analogous
#7480FB #AC74FB #F074FB
triadic
#AC74FB #FBAC74 #74FBAC
tetradic
#AC74FB #FB7480 #C3FB74 #74FBF0
square
#AC74FB #FB7480 #C3FB74 #74FBF0
split-complementary
#AC74FB #FBF074 #80FB74
monochromatic
#6707EE #8839F9 #AC74FB #D0AFFD #EDE1FE

Accessibility & contrast

On white

3.16
#AC74FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#AC74FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC74FB
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC74FB#FFFFFF#000000##000000
##AC74FB1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F90FF
Deuteranopia (green-blind)
#5190F8
Tritanopia (blue-blind)
#9C8FAD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ac74fb;
/* rgb */ color: rgb(172, 116, 251);
/* oklch */ color: oklch(67.6% 0.195 300.4);
Tailwind
colors: {
  custom: {
    50: '#c89efd',
    500: '#ac74fb',
    950: '#000000',
  },
}
SCSS
$custom: #ac74fb;
$custom-light: #c89efd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac74fb",
  "rgb": {
    "r": 172,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 264.889,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.6764,
    "c": 0.1953,
    "h": 300.4
  },
  "luminance": 0.28226
}

Semantic roles & 50–950 ramp

primary
#AC74FB
secondary
#E8F6D4
accent
#E60086
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #AC74FB

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

Preview Lab → · Contrast checker → · Palette generator →

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