#AC74EB#AC74EB

#AC74EB is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.7% C 0.176 H 303.7°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#AC74EB
RGBrgb(172, 116, 235)
HSLhsl(268, 75%, 69%)
HSVhsv(268, 51%, 92%)
CMYKcmyk(26.8%, 50.6%, 0%, 7.8%)
CIE-LABlab(59.21, 44.95, -52.16)
CIE-LCHlch(59.21, 68.85, 310.76°)
OKLaboklab(66.71% 0.0979 -0.1466)
OKLCHoklch(66.71% 0.176 303.7)
XYZxyz(38.2508, 27.2597, 81.8277)
Luminance0.2726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC74EB #B3EB74
analogous
#7478EB #AC74EB #E774EB
triadic
#AC74EB #EBAC74 #74EBAC
tetradic
#AC74EB #EB7478 #B3EB74 #74EBE7
square
#AC74EB #EB7478 #B3EB74 #74EBE7
split-complementary
#AC74EB #EBE774 #78EB74
monochromatic
#6D1DC8 #8C3EE3 #AC74EB #CCAAF3 #ECDFFA

Accessibility & contrast

On white

3.25
#AC74EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#AC74EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC74EB
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC74EB#FFFFFF#000000##000000
##AC74EB1.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEF
Deuteranopia (green-blind)
#5E8EE8
Tritanopia (blue-blind)
#A18AA5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ac74eb;
/* rgb */ color: rgb(172, 116, 235);
/* oklch */ color: oklch(66.7% 0.176 303.7);
Tailwind
colors: {
  custom: {
    50: '#c79df2',
    500: '#ac74eb',
    950: '#000000',
  },
}
SCSS
$custom: #ac74eb;
$custom-light: #c79df2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac74eb",
  "rgb": {
    "r": 172,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 268.235,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66706,
    "c": 0.17627,
    "h": 303.7
  },
  "luminance": 0.2726
}

Semantic roles & 50–950 ramp

primary
#AC74EB
secondary
#DEEFCC
accent
#D70F79
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC74EB

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

Preview Lab → · Contrast checker → · Palette generator →

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