#AC7DFF#AC7DFF

#AC7DFF is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.3% C 0.187 H 298.0°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#AC7DFF
RGBrgb(172, 125, 255)
HSLhsl(262, 100%, 75%)
HSVhsv(262, 51%, 100%)
CMYKcmyk(32.5%, 51%, 0%, 0%)
CIE-LABlab(62.22, 44.88, -58.42)
CIE-LCHlch(62.22, 73.67, 307.53°)
OKLaboklab(69.29% 0.0879 -0.1649)
OKLCHoklch(69.29% 0.187 298)
XYZxyz(42.3925, 30.6574, 98.2724)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7DFF #D0FF7D
analogous
#7D8FFF #AC7DFF #ED7DFF
triadic
#AC7DFF #FFAC7D #7DFFAC
tetradic
#AC7DFF #FF7D8F #D0FF7D #7DFFED
square
#AC7DFF #FF7D8F #D0FF7D #7DFFED
split-complementary
#AC7DFF #FFED7D #8FFF7D
monochromatic
#5E03FF #8540FF #AC7DFF #D3BAFF #EBE0FF

Accessibility & contrast

On white

2.94
#AC7DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#AC7DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC7DFF
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7DFF#FFFFFF#000000##000000
##AC7DFF1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D97FF
Deuteranopia (green-blind)
#5995FC
Tritanopia (blue-blind)
#9A96B2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ac7dff;
/* rgb */ color: rgb(172, 125, 255);
/* oklch */ color: oklch(69.3% 0.187 298.0);
Tailwind
colors: {
  custom: {
    50: '#c8a4ff',
    500: '#ac7dff',
    950: '#000000',
  },
}
SCSS
$custom: #ac7dff;
$custom-light: #c8a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7dff",
  "rgb": {
    "r": 172,
    "g": 125,
    "b": 255
  },
  "hsl": {
    "h": 261.692,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69285,
    "c": 0.18689,
    "h": 298
  },
  "luminance": 0.30658
}

Semantic roles & 50–950 ramp

primary
#AC7DFF
secondary
#EAF7D4
accent
#E60093
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AC7DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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