#AC7DFB#AC7DFB

#AC7DFB is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.1% C 0.182 H 298.8°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#AC7DFB
RGBrgb(172, 125, 251)
HSLhsl(262, 94%, 74%)
HSVhsv(262, 50%, 98%)
CMYKcmyk(31.5%, 50.2%, 0%, 1.6%)
CIE-LABlab(62.00, 43.89, -56.57)
CIE-LCHlch(62.00, 71.60, 307.81°)
OKLaboklab(69.05% 0.0876 -0.1595)
OKLCHoklch(69.05% 0.182 298.8)
XYZxyz(41.7553, 30.4025, 94.9165)
Luminance0.3040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7DFB #CCFB7D
analogous
#7D8DFB #AC7DFB #EB7DFB
triadic
#AC7DFB #FBAC7D #7DFBAC
tetradic
#AC7DFB #FB7D8D #CCFB7D #7DFBEB
square
#AC7DFB #FB7D8D #CCFB7D #7DFBEB
split-complementary
#AC7DFB #FBEB7D #8DFB7D
monochromatic
#6108F6 #8642F9 #AC7DFB #D2B8FD #ECE1FE

Accessibility & contrast

On white

2.97
#AC7DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#AC7DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC7DFB
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7DFB#FFFFFF#000000##000000
##AC7DFB1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5096FF
Deuteranopia (green-blind)
#5C95F8
Tritanopia (blue-blind)
#9B95B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ac7dfb;
/* rgb */ color: rgb(172, 125, 251);
/* oklch */ color: oklch(69.1% 0.182 298.8);
Tailwind
colors: {
  custom: {
    50: '#c8a4fd',
    500: '#ac7dfb',
    950: '#000000',
  },
}
SCSS
$custom: #ac7dfb;
$custom-light: #c8a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7dfb",
  "rgb": {
    "r": 172,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 262.381,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.69053,
    "c": 0.18199,
    "h": 298.8
  },
  "luminance": 0.30403
}

Semantic roles & 50–950 ramp

primary
#AC7DFB
secondary
#EAF6D5
accent
#E60090
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AC7DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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