#AC4FDB#AC4FDB

#AC4FDB is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.6% C 0.213 H 312.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AC4FDB
RGBrgb(172, 79, 219)
HSLhsl(280, 66%, 58%)
HSVhsv(280, 64%, 86%)
CMYKcmyk(21.5%, 63.9%, 0%, 14.1%)
CIE-LABlab(51.24, 60.14, -55.89)
CIE-LCHlch(51.24, 82.10, 317.09°)
OKLaboklab(60.58% 0.1435 -0.1574)
OKLCHoklch(60.58% 0.213 312.3)
XYZxyz(32.5931, 19.4780, 69.0468)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4FDB #7EDB4F
analogous
#664FDB #AC4FDB #DB4FC4
triadic
#AC4FDB #DBAC4F #4FDBAC
tetradic
#AC4FDB #DB664F #7EDB4F #4FC4DB
square
#AC4FDB #DB664F #7EDB4F #4FC4DB
split-complementary
#AC4FDB #C4DB4F #4FDB66
monochromatic
#6B1E92 #9028C5 #AC4FDB #C482E5 #DCB5F0

Accessibility & contrast

On white

4.29
#AC4FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#AC4FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4FDB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4FDB#FFFFFF#000000##000000
##AC4FDB1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#447CD8
Tritanopia (blue-blind)
#A76A8E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ac4fdb;
/* rgb */ color: rgb(172, 79, 219);
/* oklch */ color: oklch(60.6% 0.213 312.3);
Tailwind
colors: {
  custom: {
    50: '#c886e7',
    500: '#ac4fdb',
    950: '#000000',
  },
}
SCSS
$custom: #ac4fdb;
$custom-light: #c886e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4fdb",
  "rgb": {
    "r": 172,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 279.857,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60576,
    "c": 0.21295,
    "h": 312.3
  },
  "luminance": 0.19477
}

Semantic roles & 50–950 ramp

primary
#AC4FDB
secondary
#BADFA7
accent
#E93F78
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AC4FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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