#AC6AF2#AC6AF2

#AC6AF2 is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.6% C 0.199 H 303.8°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AC6AF2
RGBrgb(172, 106, 242)
HSLhsl(269, 84%, 68%)
HSVhsv(269, 56%, 95%)
CMYKcmyk(28.9%, 56.2%, 0%, 5.1%)
CIE-LABlab(57.55, 51.93, -58.70)
CIE-LCHlch(57.55, 78.38, 311.50°)
OKLaboklab(65.6% 0.1109 -0.1657)
OKLCHoklch(65.6% 0.199 303.8)
XYZxyz(38.1907, 25.4896, 86.8952)
Luminance0.2549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC6AF2 #B0F26A
analogous
#6A6CF2 #AC6AF2 #F06AF2
triadic
#AC6AF2 #F2AC6A #6AF2AC
tetradic
#AC6AF2 #F26A6C #B0F26A #6AF2F0
square
#AC6AF2 #F26A6C #B0F26A #6AF2F0
split-complementary
#AC6AF2 #F2F06A #6CF26A
monochromatic
#6E12CF #8D32ED #AC6AF2 #CBA2F7 #EBDBFC

Accessibility & contrast

On white

3.44
#AC6AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#AC6AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC6AF2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC6AF2#FFFFFF#000000##000000
##AC6AF21.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3389F6
Deuteranopia (green-blind)
#4C8AEF
Tritanopia (blue-blind)
#9F85A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ac6af2;
/* rgb */ color: rgb(172, 106, 242);
/* oklch */ color: oklch(65.6% 0.199 303.8);
Tailwind
colors: {
  custom: {
    50: '#c897f7',
    500: '#ac6af2',
    950: '#000000',
  },
}
SCSS
$custom: #ac6af2;
$custom-light: #c897f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac6af2",
  "rgb": {
    "r": 172,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 269.118,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65603,
    "c": 0.19942,
    "h": 303.8
  },
  "luminance": 0.2549
}

Semantic roles & 50–950 ramp

primary
#AC6AF2
secondary
#DDF1C7
accent
#E00576
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC6AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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