#AC6AF7#AC6AF7

#AC6AF7 is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 65.9% C 0.205 H 302.7°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AC6AF7
RGBrgb(172, 106, 247)
HSLhsl(268, 90%, 69%)
HSVhsv(268, 57%, 97%)
CMYKcmyk(30.4%, 57.1%, 0%, 3.1%)
CIE-LABlab(57.84, 53.11, -61.01)
CIE-LCHlch(57.84, 80.89, 311.04°)
OKLaboklab(65.91% 0.111 -0.1725)
OKLCHoklch(65.91% 0.205 302.7)
XYZxyz(38.9520, 25.7941, 90.9043)
Luminance0.2579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC6AF7 #B5F76A
analogous
#6A6FF7 #AC6AF7 #F26AF7
triadic
#AC6AF7 #F7AC6A #6AF7AC
tetradic
#AC6AF7 #F76A6F #B5F76A #6AF7F2
square
#AC6AF7 #F76A6F #B5F76A #6AF7F2
split-complementary
#AC6AF7 #F7F26A #6FF76A
monochromatic
#6D0CDB #8C30F4 #AC6AF7 #CCA4FA #EDDEFD

Accessibility & contrast

On white

3.41
#AC6AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#AC6AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC6AF7
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC6AF7#FFFFFF#000000##000000
##AC6AF71.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8AFC
Deuteranopia (green-blind)
#478BF4
Tritanopia (blue-blind)
#9E86A7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ac6af7;
/* rgb */ color: rgb(172, 106, 247);
/* oklch */ color: oklch(65.9% 0.205 302.7);
Tailwind
colors: {
  custom: {
    50: '#c997fa',
    500: '#ac6af7',
    950: '#000000',
  },
}
SCSS
$custom: #ac6af7;
$custom-light: #c997fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ac6af7",
  "rgb": {
    "r": 172,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 268.085,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6591,
    "c": 0.20511,
    "h": 302.7
  },
  "luminance": 0.25794
}

Semantic roles & 50–950 ramp

primary
#AC6AF7
secondary
#E0F3CA
accent
#E6007A
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AC6AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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