#AC7CFA#AC7CFA

#AC7CFA is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.8% C 0.182 H 299.1°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#AC7CFA
RGBrgb(172, 124, 250)
HSLhsl(263, 93%, 73%)
HSVhsv(263, 50%, 98%)
CMYKcmyk(31.2%, 50.4%, 0%, 2%)
CIE-LABlab(61.73, 44.19, -56.45)
CIE-LCHlch(61.73, 71.69, 308.06°)
OKLaboklab(68.84% 0.0888 -0.1592)
OKLCHoklch(68.84% 0.182 299.1)
XYZxyz(41.4721, 30.0877, 94.0465)
Luminance0.3009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7CFA #CAFA7C
analogous
#7C8BFA #AC7CFA #EB7CFA
triadic
#AC7CFA #FAAC7C #7CFAAC
tetradic
#AC7CFA #FA7C8B #CAFA7C #7CFAEB
square
#AC7CFA #FA7C8B #CAFA7C #7CFAEB
split-complementary
#AC7CFA #FAEB7C #8BFA7C
monochromatic
#6209F2 #8741F8 #AC7CFA #D1B7FC #ECE2FE

Accessibility & contrast

On white

2.99
#AC7CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#AC7CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC7CFA
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7CFA#FFFFFF#000000##000000
##AC7CFA1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F95FE
Deuteranopia (green-blind)
#5C94F7
Tritanopia (blue-blind)
#9C94B0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ac7cfa;
/* rgb */ color: rgb(172, 124, 250);
/* oklch */ color: oklch(68.8% 0.182 299.1);
Tailwind
colors: {
  custom: {
    50: '#c8a3fc',
    500: '#ac7cfa',
    950: '#000000',
  },
}
SCSS
$custom: #ac7cfa;
$custom-light: #c8a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7cfa",
  "rgb": {
    "r": 172,
    "g": 124,
    "b": 250
  },
  "hsl": {
    "h": 262.857,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68835,
    "c": 0.18225,
    "h": 299.1
  },
  "luminance": 0.30088
}

Semantic roles & 50–950 ramp

primary
#AC7CFA
secondary
#E9F6D5
accent
#E6008E
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AC7CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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