#AC71ED#AC71ED

#AC71ED is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.4% C 0.183 H 303.8°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AC71ED
RGBrgb(172, 113, 237)
HSLhsl(269, 78%, 69%)
HSVhsv(269, 52%, 93%)
CMYKcmyk(27.4%, 52.3%, 0%, 7.1%)
CIE-LABlab(58.69, 47.05, -54.10)
CIE-LCHlch(58.69, 71.69, 311.01°)
OKLaboklab(66.35% 0.1019 -0.1523)
OKLCHoklch(66.35% 0.183 303.8)
XYZxyz(38.2011, 26.6954, 83.2446)
Luminance0.2670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71ED #B2ED71
analogous
#7174ED #AC71ED #EA71ED
triadic
#AC71ED #EDAC71 #71EDAC
tetradic
#AC71ED #ED7174 #B2ED71 #71EDEA
square
#AC71ED #ED7174 #B2ED71 #71EDEA
split-complementary
#AC71ED #EDEA71 #74ED71
monochromatic
#6E1ACA #8C3BE6 #AC71ED #CCA7F4 #EBDEFB

Accessibility & contrast

On white

3.31
#AC71ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#AC71ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71ED
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71ED#FFFFFF#000000##000000
##AC71ED1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#478CF1
Deuteranopia (green-blind)
#598DEA
Tritanopia (blue-blind)
#A088A4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ac71ed;
/* rgb */ color: rgb(172, 113, 237);
/* oklch */ color: oklch(66.4% 0.183 303.8);
Tailwind
colors: {
  custom: {
    50: '#c89bf3',
    500: '#ac71ed',
    950: '#000000',
  },
}
SCSS
$custom: #ac71ed;
$custom-light: #c89bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71ed",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 268.548,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66353,
    "c": 0.18323,
    "h": 303.8
  },
  "luminance": 0.26695
}

Semantic roles & 50–950 ramp

primary
#AC71ED
secondary
#DEEFCA
accent
#DA0C78
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC71ED

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

Preview Lab → · Contrast checker → · Palette generator →

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