#AC71F0#AC71F0

#AC71F0 is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.5% C 0.187 H 303.1°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AC71F0
RGBrgb(172, 113, 240)
HSLhsl(268, 81%, 69%)
HSVhsv(268, 53%, 94%)
CMYKcmyk(28.3%, 52.9%, 0%, 5.9%)
CIE-LABlab(58.86, 47.75, -55.51)
CIE-LCHlch(58.86, 73.22, 310.71°)
OKLaboklab(66.53% 0.1021 -0.1564)
OKLCHoklch(66.53% 0.187 303.1)
XYZxyz(38.6430, 26.8722, 85.5722)
Luminance0.2687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71F0 #B5F071
analogous
#7176F0 #AC71F0 #EC71F0
triadic
#AC71F0 #F0AC71 #71F0AC
tetradic
#AC71F0 #F07176 #B5F071 #71F0EC
square
#AC71F0 #F07176 #B5F071 #71F0EC
split-complementary
#AC71F0 #F0EC71 #76F071
monochromatic
#6D16D1 #8C3AEA #AC71F0 #CCA8F6 #EDE0FC

Accessibility & contrast

On white

3.29
#AC71F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#AC71F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71F0
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71F0#FFFFFF#000000##000000
##AC71F01.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#448CF4
Deuteranopia (green-blind)
#578DED
Tritanopia (blue-blind)
#A089A6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ac71f0;
/* rgb */ color: rgb(172, 113, 240);
/* oklch */ color: oklch(66.5% 0.187 303.1);
Tailwind
colors: {
  custom: {
    50: '#c89bf5',
    500: '#ac71f0',
    950: '#000000',
  },
}
SCSS
$custom: #ac71f0;
$custom-light: #c89bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71f0",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 240
  },
  "hsl": {
    "h": 267.874,
    "s": 80.892,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66528,
    "c": 0.18676,
    "h": 303.1
  },
  "luminance": 0.26872
}

Semantic roles & 50–950 ramp

primary
#AC71F0
secondary
#E0F1CC
accent
#DD087A
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC71F0

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

Preview Lab → · Contrast checker → · Palette generator →

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