#AC47ED#AC47ED

#AC47ED is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.9% C 0.240 H 308.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AC47ED
RGBrgb(172, 71, 237)
HSLhsl(277, 82%, 60%)
HSVhsv(277, 70%, 93%)
CMYKcmyk(27.4%, 70%, 0%, 7.1%)
CIE-LABlab(51.14, 67.43, -66.22)
CIE-LCHlch(51.14, 94.51, 315.52°)
OKLaboklab(60.87% 0.1503 -0.1877)
OKLCHoklch(60.87% 0.24 308.7)
XYZxyz(34.5494, 19.3921, 82.0273)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC47ED #88ED47
analogous
#5947ED #AC47ED #ED47DB
triadic
#AC47ED #EDAC47 #47EDAC
tetradic
#AC47ED #ED5947 #88ED47 #47DBED
square
#AC47ED #ED5947 #88ED47 #47DBED
split-complementary
#AC47ED #DBED47 #47ED59
monochromatic
#6D11A9 #9116E1 #AC47ED #C57FF2 #DEB6F8

Accessibility & contrast

On white

4.30
#AC47ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#AC47ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC47ED
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC47ED#FFFFFF#000000##000000
##AC47ED1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F2
Deuteranopia (green-blind)
#1E7BE9
Tritanopia (blue-blind)
#A26C96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ac47ed;
/* rgb */ color: rgb(172, 71, 237);
/* oklch */ color: oklch(60.9% 0.240 308.7);
Tailwind
colors: {
  custom: {
    50: '#ca82f4',
    500: '#ac47ed',
    950: '#000000',
  },
}
SCSS
$custom: #ac47ed;
$custom-light: #ca82f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac47ed",
  "rgb": {
    "r": 172,
    "g": 71,
    "b": 237
  },
  "hsl": {
    "h": 276.506,
    "s": 82.178,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60872,
    "c": 0.24043,
    "h": 308.7
  },
  "luminance": 0.19392
}

Semantic roles & 50–950 ramp

primary
#AC47ED
secondary
#C1E8A8
accent
#DF075B
background
#FCF8FF
surface
#F9EFFE
border
#D2CAD6
text
#140B17
muted
#827C85

Preview Lab

Preview with #AC47ED

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

Preview Lab → · Contrast checker → · Palette generator →

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