#AC7BF1#AC7BF1

#AC7BF1 is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.2% C 0.173 H 301.1°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#AC7BF1
RGBrgb(172, 123, 241)
HSLhsl(265, 81%, 71%)
HSVhsv(265, 49%, 95%)
CMYKcmyk(28.6%, 49%, 0%, 5.5%)
CIE-LABlab(61.03, 42.56, -52.59)
CIE-LCHlch(61.03, 67.65, 308.98°)
OKLaboklab(68.16% 0.0893 -0.1479)
OKLCHoklch(68.16% 0.173 301.1)
XYZxyz(39.9698, 29.2873, 86.7493)
Luminance0.2929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7BF1 #C0F17B
analogous
#7B85F1 #AC7BF1 #E77BF1
triadic
#AC7BF1 #F1AC7B #7BF1AC
tetradic
#AC7BF1 #F17B85 #C0F17B #7BF1E7
square
#AC7BF1 #F17B85 #C0F17B #7BF1E7
split-complementary
#AC7BF1 #F1E77B #85F17B
monochromatic
#6817DA #8944EB #AC7BF1 #CFB2F7 #EEE3FC

Accessibility & contrast

On white

3.06
#AC7BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#AC7BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7BF1
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7BF1#FFFFFF#000000##000000
##AC7BF11.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5593F5
Deuteranopia (green-blind)
#6293EE
Tritanopia (blue-blind)
#9F91AB
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ac7bf1;
/* rgb */ color: rgb(172, 123, 241);
/* oklch */ color: oklch(68.2% 0.173 301.1);
Tailwind
colors: {
  custom: {
    50: '#c7a2f6',
    500: '#ac7bf1',
    950: '#000000',
  },
}
SCSS
$custom: #ac7bf1;
$custom-light: #c7a2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7bf1",
  "rgb": {
    "r": 172,
    "g": 123,
    "b": 241
  },
  "hsl": {
    "h": 264.915,
    "s": 80.822,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68162,
    "c": 0.17274,
    "h": 301.1
  },
  "luminance": 0.29287
}

Semantic roles & 50–950 ramp

primary
#AC7BF1
secondary
#E6F3D5
accent
#DD0885
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #AC7BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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