#AC7BFB#AC7BFB

#AC7BFB is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.7% C 0.185 H 299.2°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#AC7BFB
RGBrgb(172, 123, 251)
HSLhsl(263, 94%, 73%)
HSVhsv(263, 51%, 98%)
CMYKcmyk(31.5%, 51%, 0%, 1.6%)
CIE-LABlab(61.57, 44.99, -57.26)
CIE-LCHlch(61.57, 72.82, 308.16°)
OKLaboklab(68.73% 0.0901 -0.1615)
OKLCHoklch(68.73% 0.185 299.2)
XYZxyz(41.5046, 29.9013, 94.8330)
Luminance0.2990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7BFB #CAFB7B
analogous
#7B8AFB #AC7BFB #EC7BFB
triadic
#AC7BFB #FBAC7B #7BFBAC
tetradic
#AC7BFB #FB7B8A #CAFB7B #7BFBEC
square
#AC7BFB #FB7B8A #CAFB7B #7BFBEC
split-complementary
#AC7BFB #FBEC7B #8AFB7B
monochromatic
#6207F4 #8740F9 #AC7BFB #D1B6FD #ECE1FE

Accessibility & contrast

On white

3.01
#AC7BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#AC7BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7BFB
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7BFB#FFFFFF#000000##000000
##AC7BFB1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac7bfb;
/* rgb */ color: rgb(172, 123, 251);
/* oklch */ color: oklch(68.7% 0.185 299.2);
Tailwind
colors: {
  custom: {
    50: '#c8a2fd',
    500: '#ac7bfb',
    950: '#000000',
  },
}
SCSS
$custom: #ac7bfb;
$custom-light: #c8a2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7bfb",
  "rgb": {
    "r": 172,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 262.969,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68733,
    "c": 0.18497,
    "h": 299.2
  },
  "luminance": 0.29902
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC7BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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