#AC7BF5#AC7BF5

#AC7BF5 is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.4% C 0.178 H 300.3°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#AC7BF5
RGBrgb(172, 123, 245)
HSLhsl(264, 86%, 72%)
HSVhsv(264, 50%, 96%)
CMYKcmyk(29.8%, 49.8%, 0%, 3.9%)
CIE-LABlab(61.25, 43.52, -54.47)
CIE-LCHlch(61.25, 69.72, 308.63°)
OKLaboklab(68.39% 0.0896 -0.1534)
OKLCHoklch(68.39% 0.178 300.3)
XYZxyz(40.5738, 29.5289, 89.9306)
Luminance0.2953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7BF5 #C4F57B
analogous
#7B87F5 #AC7BF5 #E97BF5
triadic
#AC7BF5 #F5AC7B #7BF5AC
tetradic
#AC7BF5 #F57B87 #C4F57B #7BF5E9
square
#AC7BF5 #F57B87 #C4F57B #7BF5E9
split-complementary
#AC7BF5 #F5E97B #87F57B
monochromatic
#6611E4 #8842F1 #AC7BF5 #D0B4F9 #EDE3FD

Accessibility & contrast

On white

3.04
#AC7BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#AC7BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7BF5
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7BF5#FFFFFF#000000##000000
##AC7BF51.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5293F9
Deuteranopia (green-blind)
#5F93F2
Tritanopia (blue-blind)
#9D92AD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ac7bf5;
/* rgb */ color: rgb(172, 123, 245);
/* oklch */ color: oklch(68.4% 0.178 300.3);
Tailwind
colors: {
  custom: {
    50: '#c8a2f9',
    500: '#ac7bf5',
    950: '#000000',
  },
}
SCSS
$custom: #ac7bf5;
$custom-light: #c8a2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7bf5",
  "rgb": {
    "r": 172,
    "g": 123,
    "b": 245
  },
  "hsl": {
    "h": 264.098,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68388,
    "c": 0.17764,
    "h": 300.3
  },
  "luminance": 0.29529
}

Semantic roles & 50–950 ramp

primary
#AC7BF5
secondary
#E9F5D6
accent
#E20389
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AC7BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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