#AC71F3#AC71F3

#AC71F3 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.7% C 0.190 H 302.5°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#AC71F3
RGBrgb(172, 113, 243)
HSLhsl(267, 84%, 70%)
HSVhsv(267, 53%, 95%)
CMYKcmyk(29.2%, 53.5%, 0%, 4.7%)
CIE-LABlab(59.02, 48.47, -56.90)
CIE-LCHlch(59.02, 74.75, 310.42°)
OKLaboklab(66.71% 0.1022 -0.1605)
OKLCHoklch(66.71% 0.19 302.5)
XYZxyz(39.0924, 27.0520, 87.9387)
Luminance0.2705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71F3 #B8F371
analogous
#7177F3 #AC71F3 #ED71F3
triadic
#AC71F3 #F3AC71 #71F3AC
tetradic
#AC71F3 #F37177 #B8F371 #71F3ED
square
#AC71F3 #F37177 #B8F371 #71F3ED
split-complementary
#AC71F3 #F3ED71 #77F371
monochromatic
#6C12D7 #8B39EE #AC71F3 #CDA9F8 #EEE2FD

Accessibility & contrast

On white

3.28
#AC71F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#AC71F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71F3
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71F3#FFFFFF#000000##000000
##AC71F31.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#418DF7
Deuteranopia (green-blind)
#548EF0
Tritanopia (blue-blind)
#9F8AA7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ac71f3;
/* rgb */ color: rgb(172, 113, 243);
/* oklch */ color: oklch(66.7% 0.190 302.5);
Tailwind
colors: {
  custom: {
    50: '#c89bf8',
    500: '#ac71f3',
    950: '#000000',
  },
}
SCSS
$custom: #ac71f3;
$custom-light: #c89bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71f3",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 243
  },
  "hsl": {
    "h": 267.231,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66705,
    "c": 0.19028,
    "h": 302.5
  },
  "luminance": 0.27052
}

Semantic roles & 50–950 ramp

primary
#AC71F3
secondary
#E2F2CE
accent
#E1057D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC71F3

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

Preview Lab → · Contrast checker → · Palette generator →

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