#AC74FE#AC74FE

#AC74FE is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.8% C 0.199 H 299.8°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#AC74FE
RGBrgb(172, 116, 254)
HSLhsl(264, 99%, 73%)
HSVhsv(264, 54%, 100%)
CMYKcmyk(32.3%, 54.3%, 0%, 0.4%)
CIE-LABlab(60.26, 49.51, -61.00)
CIE-LCHlch(60.26, 78.56, 309.07°)
OKLaboklab(67.82% 0.0989 -0.1725)
OKLCHoklch(67.82% 0.199 299.8)
XYZxyz(41.1438, 28.4169, 97.0641)
Luminance0.2842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC74FE #C6FE74
analogous
#7481FE #AC74FE #F174FE
triadic
#AC74FE #FEAC74 #74FEAC
tetradic
#AC74FE #FE7481 #C6FE74 #74FEF1
square
#AC74FE #FE7481 #C6FE74 #74FEF1
split-complementary
#AC74FE #FEF174 #81FE74
monochromatic
#6502F6 #8837FE #AC74FE #D0B1FE #EDE1FF

Accessibility & contrast

On white

3.14
#AC74FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#AC74FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC74FE
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC74FE#FFFFFF#000000##000000
##AC74FE1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B91FF
Deuteranopia (green-blind)
#4E90FB
Tritanopia (blue-blind)
#9B8FAE
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ac74fe;
/* rgb */ color: rgb(172, 116, 254);
/* oklch */ color: oklch(67.8% 0.199 299.8);
Tailwind
colors: {
  custom: {
    50: '#c99eff',
    500: '#ac74fe',
    950: '#000000',
  },
}
SCSS
$custom: #ac74fe;
$custom-light: #c99eff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac74fe",
  "rgb": {
    "r": 172,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 264.348,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67821,
    "c": 0.19884,
    "h": 299.8
  },
  "luminance": 0.28417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC74FE

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

Preview Lab → · Contrast checker → · Palette generator →

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