#AC74EF#AC74EF

#AC74EF is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.9% C 0.181 H 302.8°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#AC74EF
RGBrgb(172, 116, 239)
HSLhsl(267, 79%, 70%)
HSVhsv(267, 51%, 94%)
CMYKcmyk(28%, 51.5%, 0%, 6.3%)
CIE-LABlab(59.43, 45.90, -54.04)
CIE-LCHlch(59.43, 70.90, 310.34°)
OKLaboklab(66.93% 0.0982 -0.1521)
OKLCHoklch(66.93% 0.181 302.8)
XYZxyz(38.8352, 27.4934, 84.9054)
Luminance0.2749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC74EF #B7EF74
analogous
#747AEF #AC74EF #EA74EF
triadic
#AC74EF #EFAC74 #74EFAC
tetradic
#AC74EF #EF747A #B7EF74 #74EFEA
square
#AC74EF #EF747A #B7EF74 #74EFEA
split-complementary
#AC74EF #EFEA74 #7AEF74
monochromatic
#6C18D1 #8B3DE9 #AC74EF #CDABF5 #EEE2FC

Accessibility & contrast

On white

3.23
#AC74EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#AC74EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC74EF
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC74EF#FFFFFF#000000##000000
##AC74EF1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8EF3
Deuteranopia (green-blind)
#5B8FEC
Tritanopia (blue-blind)
#A08BA7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ac74ef;
/* rgb */ color: rgb(172, 116, 239);
/* oklch */ color: oklch(66.9% 0.181 302.8);
Tailwind
colors: {
  custom: {
    50: '#c89df5',
    500: '#ac74ef',
    950: '#000000',
  },
}
SCSS
$custom: #ac74ef;
$custom-light: #c89df5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac74ef",
  "rgb": {
    "r": 172,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 267.317,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66934,
    "c": 0.18104,
    "h": 302.8
  },
  "luminance": 0.27493
}

Semantic roles & 50–950 ramp

primary
#AC74EF
secondary
#E1F1CE
accent
#DC0A7C
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC74EF

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

Preview Lab → · Contrast checker → · Palette generator →

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