#AC7FFD#AC7FFD

#AC7FFD is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.5% C 0.181 H 298.0°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#AC7FFD
RGBrgb(172, 127, 253)
HSLhsl(261, 97%, 75%)
HSVhsv(261, 50%, 99%)
CMYKcmyk(32%, 49.8%, 0%, 0.8%)
CIE-LABlab(62.54, 43.28, -56.81)
CIE-LCHlch(62.54, 71.42, 307.31°)
OKLaboklab(69.49% 0.0852 -0.1602)
OKLCHoklch(69.49% 0.181 298)
XYZxyz(42.3279, 31.0408, 96.6709)
Luminance0.3104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7FFD #D0FD7F
analogous
#7F91FD #AC7FFD #EB7FFD
triadic
#AC7FFD #FDAC7F #7FFDAC
tetradic
#AC7FFD #FD7F91 #D0FD7F #7FFDEB
square
#AC7FFD #FD7F91 #D0FD7F #7FFDEB
split-complementary
#AC7FFD #FDEB7F #91FD7F
monochromatic
#5E06FB #8543FC #AC7FFD #D3BBFE #EBE1FF

Accessibility & contrast

On white

2.91
#AC7FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#AC7FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC7FFD
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7FFD#FFFFFF#000000##000000
##AC7FFD1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#5D96FA
Tritanopia (blue-blind)
#9B97B2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ac7ffd;
/* rgb */ color: rgb(172, 127, 253);
/* oklch */ color: oklch(69.5% 0.181 298.0);
Tailwind
colors: {
  custom: {
    50: '#c8a5ff',
    500: '#ac7ffd',
    950: '#000000',
  },
}
SCSS
$custom: #ac7ffd;
$custom-light: #c8a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7ffd",
  "rgb": {
    "r": 172,
    "g": 127,
    "b": 253
  },
  "hsl": {
    "h": 261.429,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69492,
    "c": 0.18147,
    "h": 298
  },
  "luminance": 0.31041
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC7FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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