#AC71FB#AC71FB

#AC71FB is a light, vivid violet. Relative luminance 0.275; OKLCH L 67.2% C 0.200 H 300.9°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AC71FB
RGBrgb(172, 113, 251)
HSLhsl(266, 95%, 71%)
HSVhsv(266, 55%, 98%)
CMYKcmyk(31.5%, 55%, 0%, 1.6%)
CIE-LABlab(59.48, 50.38, -60.60)
CIE-LCHlch(59.48, 78.81, 309.74°)
OKLaboklab(67.19% 0.1025 -0.1713)
OKLCHoklch(67.19% 0.2 300.9)
XYZxyz(40.3269, 27.5458, 94.4404)
Luminance0.2755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71FB #C0FB71
analogous
#717BFB #AC71FB #F171FB
triadic
#AC71FB #FBAC71 #71FBAC
tetradic
#AC71FB #FB717B #C0FB71 #71FBF1
square
#AC71FB #FB717B #C0FB71 #71FBF1
split-complementary
#AC71FB #FBF171 #7BFB71
monochromatic
#6807EB #8935F9 #AC71FB #CFADFD #EEE1FE

Accessibility & contrast

On white

3.23
#AC71FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#AC71FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71FB
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71FB#FFFFFF#000000##000000
##AC71FB1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#388FFF
Deuteranopia (green-blind)
#4D8EF8
Tritanopia (blue-blind)
#9C8CAB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ac71fb;
/* rgb */ color: rgb(172, 113, 251);
/* oklch */ color: oklch(67.2% 0.200 300.9);
Tailwind
colors: {
  custom: {
    50: '#c99cfd',
    500: '#ac71fb',
    950: '#000000',
  },
}
SCSS
$custom: #ac71fb;
$custom-light: #c99cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71fb",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 265.652,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67186,
    "c": 0.19966,
    "h": 300.9
  },
  "luminance": 0.27546
}

Semantic roles & 50–950 ramp

primary
#AC71FB
secondary
#E6F6D2
accent
#E60083
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AC71FB

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

Preview Lab → · Contrast checker → · Palette generator →

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