#AC4CDE#AC4CDE

#AC4CDE is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.4% C 0.220 H 311.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AC4CDE
RGBrgb(172, 76, 222)
HSLhsl(279, 69%, 58%)
HSVhsv(279, 66%, 87%)
CMYKcmyk(22.5%, 65.8%, 0%, 12.9%)
CIE-LABlab(50.94, 62.12, -58.08)
CIE-LCHlch(50.94, 85.04, 316.92°)
OKLaboklab(60.42% 0.1466 -0.1638)
OKLCHoklch(60.42% 0.22 311.8)
XYZxyz(32.7801, 19.2143, 71.0750)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4CDE #7EDE4C
analogous
#634CDE #AC4CDE #DE4CC7
triadic
#AC4CDE #DEAC4C #4CDEAC
tetradic
#AC4CDE #DE634C #7EDE4C #4CC7DE
square
#AC4CDE #DE634C #7EDE4C #4CC7DE
split-complementary
#AC4CDE #C7DE4C #4CDE63
monochromatic
#6B1B94 #9025C8 #AC4CDE #C480E8 #DCB3F1

Accessibility & contrast

On white

4.34
#AC4CDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#AC4CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4CDE
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4CDE#FFFFFF#000000##000000
##AC4CDE1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E2
Deuteranopia (green-blind)
#3D7BDB
Tritanopia (blue-blind)
#A66A8F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ac4cde;
/* rgb */ color: rgb(172, 76, 222);
/* oklch */ color: oklch(60.4% 0.220 311.8);
Tailwind
colors: {
  custom: {
    50: '#c984e9',
    500: '#ac4cde',
    950: '#000000',
  },
}
SCSS
$custom: #ac4cde;
$custom-light: #c984e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4cde",
  "rgb": {
    "r": 172,
    "g": 76,
    "b": 222
  },
  "hsl": {
    "h": 279.452,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60415,
    "c": 0.21985,
    "h": 311.8
  },
  "luminance": 0.19213
}

Semantic roles & 50–950 ramp

primary
#AC4CDE
secondary
#BAE0A6
accent
#EC3C78
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AC4CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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