#AC7DE2#AC7DE2

#AC7DE2 is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.7% C 0.151 H 304.1°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#AC7DE2
RGBrgb(172, 125, 226)
HSLhsl(268, 64%, 69%)
HSVhsv(268, 45%, 89%)
CMYKcmyk(23.9%, 44.7%, 0%, 11.4%)
CIE-LABlab(60.72, 37.89, -44.76)
CIE-LCHlch(60.72, 58.64, 310.25°)
OKLaboklab(67.68% 0.0848 -0.1251)
OKLCHoklch(67.68% 0.151 304.1)
XYZxyz(38.0714, 28.9290, 75.5149)
Luminance0.2893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7DE2 #B3E27D
analogous
#7D81E2 #AC7DE2 #DF7DE2
triadic
#AC7DE2 #E2AC7D #7DE2AC
tetradic
#AC7DE2 #E27D81 #B3E27D #7DE2DF
square
#AC7DE2 #E27D81 #B3E27D #7DE2DF
split-complementary
#AC7DE2 #E2DF7D #81E27D
monochromatic
#6D2ABB #8C4BD7 #AC7DE2 #CCAFED #ECE1F8

Accessibility & contrast

On white

3.09
#AC7DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#AC7DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7DE2
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7DE2#FFFFFF#000000##000000
##AC7DE21.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6291E6
Deuteranopia (green-blind)
#6E92DF
Tritanopia (blue-blind)
#A38EA5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ac7de2;
/* rgb */ color: rgb(172, 125, 226);
/* oklch */ color: oklch(67.7% 0.151 304.1);
Tailwind
colors: {
  custom: {
    50: '#c7a3eb',
    500: '#ac7de2',
    950: '#000000',
  },
}
SCSS
$custom: #ac7de2;
$custom-light: #c7a3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7de2",
  "rgb": {
    "r": 172,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 267.921,
    "s": 63.522,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6768,
    "c": 0.15109,
    "h": 304.1
  },
  "luminance": 0.28929
}

Semantic roles & 50–950 ramp

primary
#AC7DE2
secondary
#DEECCE
accent
#CB1A79
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AC7DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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