#AC4FBA#AC4FBA

#AC4FBA is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.6% C 0.181 H 322.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#AC4FBA
RGBrgb(172, 79, 186)
HSLhsl(292, 44%, 52%)
HSVhsv(292, 58%, 73%)
CMYKcmyk(7.5%, 57.5%, 0%, 27.1%)
CIE-LABlab(49.39, 53.49, -39.89)
CIE-LCHlch(49.39, 66.73, 323.29°)
OKLaboklab(58.63% 0.143 -0.1107)
OKLCHoklch(58.63% 0.181 322.2)
XYZxyz(28.6712, 17.9092, 48.3914)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4FBA #5DBA4F
analogous
#774FBA #AC4FBA #BA4F92
triadic
#AC4FBA #BAAC4F #4FBAAC
tetradic
#AC4FBA #BA774F #5DBA4F #4F92BA
square
#AC4FBA #BA774F #5DBA4F #4F92BA
split-complementary
#AC4FBA #92BA4F #4FBA77
monochromatic
#5E2866 #873992 #AC4FBA #C17BCB #D5A7DC

Accessibility & contrast

On white

4.58
#AC4FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#AC4FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4FBA
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4FBA#FFFFFF#000000##000000
##AC4FBA1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6EBD
Deuteranopia (green-blind)
#5C79B7
Tritanopia (blue-blind)
#AE5E7D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ac4fba;
/* rgb */ color: rgb(172, 79, 186);
/* oklch */ color: oklch(58.6% 0.181 322.2);
Tailwind
colors: {
  custom: {
    50: '#c785cf',
    500: '#ac4fba',
    950: '#000000',
  },
}
SCSS
$custom: #ac4fba;
$custom-light: #c785cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4fba",
  "rgb": {
    "r": 172,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 292.15,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5863,
    "c": 0.18081,
    "h": 322.2
  },
  "luminance": 0.17908
}

Semantic roles & 50–950 ramp

primary
#AC4FBA
secondary
#A1CA9B
accent
#D35465
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AC4FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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