#AC71F2#AC71F2

#AC71F2 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.6% C 0.189 H 302.7°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AC71F2
RGBrgb(172, 113, 242)
HSLhsl(267, 83%, 70%)
HSVhsv(267, 53%, 95%)
CMYKcmyk(28.9%, 53.3%, 0%, 5.1%)
CIE-LABlab(58.97, 48.23, -56.44)
CIE-LCHlch(58.97, 74.24, 310.51°)
OKLaboklab(66.65% 0.1022 -0.1591)
OKLCHoklch(66.65% 0.189 302.7)
XYZxyz(38.9418, 26.9917, 87.1455)
Luminance0.2699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71F2 #B7F271
analogous
#7177F2 #AC71F2 #ED71F2
triadic
#AC71F2 #F2AC71 #71F2AC
tetradic
#AC71F2 #F27177 #B7F271 #71F2ED
square
#AC71F2 #F27177 #B7F271 #71F2ED
split-complementary
#AC71F2 #F2ED71 #77F271
monochromatic
#6C14D5 #8B39ED #AC71F2 #CDA9F7 #EEE1FC

Accessibility & contrast

On white

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

On black

6.40
#AC71F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71F2
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71F2#FFFFFF#000000##000000
##AC71F21.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#428DF6
Deuteranopia (green-blind)
#558EEF
Tritanopia (blue-blind)
#9F8AA7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ac71f2;
/* rgb */ color: rgb(172, 113, 242);
/* oklch */ color: oklch(66.6% 0.189 302.7);
Tailwind
colors: {
  custom: {
    50: '#c89bf7',
    500: '#ac71f2',
    950: '#000000',
  },
}
SCSS
$custom: #ac71f2;
$custom-light: #c89bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71f2",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 267.442,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66646,
    "c": 0.18911,
    "h": 302.7
  },
  "luminance": 0.26992
}

Semantic roles & 50–950 ramp

primary
#AC71F2
secondary
#E1F2CD
accent
#E0067C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC71F2

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

Preview Lab → · Contrast checker → · Palette generator →

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