#AC7BF9#AC7BF9

#AC7BF9 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.6% C 0.183 H 299.5°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#AC7BF9
RGBrgb(172, 123, 249)
HSLhsl(263, 91%, 73%)
HSVhsv(263, 51%, 98%)
CMYKcmyk(30.9%, 50.6%, 0%, 2.4%)
CIE-LABlab(61.46, 44.50, -56.33)
CIE-LCHlch(61.46, 71.79, 308.31°)
OKLaboklab(68.62% 0.09 -0.1588)
OKLCHoklch(68.62% 0.183 299.5)
XYZxyz(41.1910, 29.7758, 93.1814)
Luminance0.2978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7BF9 #C8F97B
analogous
#7B89F9 #AC7BF9 #EB7BF9
triadic
#AC7BF9 #F9AC7B #7BF9AC
tetradic
#AC7BF9 #F97B89 #C8F97B #7BF9EB
square
#AC7BF9 #F97B89 #C8F97B #7BF9EB
split-complementary
#AC7BF9 #F9EB7B #89F97B
monochromatic
#630BEF #8740F6 #AC7BF9 #D1B6FC #EDE2FE

Accessibility & contrast

On white

3.02
#AC7BF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#AC7BF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7BF9
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7BF9#FFFFFF#000000##000000
##AC7BF91.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F94FD
Deuteranopia (green-blind)
#5C93F6
Tritanopia (blue-blind)
#9C93AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ac7bf9;
/* rgb */ color: rgb(172, 123, 249);
/* oklch */ color: oklch(68.6% 0.183 299.5);
Tailwind
colors: {
  custom: {
    50: '#c8a2fc',
    500: '#ac7bf9',
    950: '#000000',
  },
}
SCSS
$custom: #ac7bf9;
$custom-light: #c8a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7bf9",
  "rgb": {
    "r": 172,
    "g": 123,
    "b": 249
  },
  "hsl": {
    "h": 263.333,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68617,
    "c": 0.18253,
    "h": 299.5
  },
  "luminance": 0.29776
}

Semantic roles & 50–950 ramp

primary
#AC7BF9
secondary
#E9F6D5
accent
#E6008C
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AC7BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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