#AC7BE7#AC7BE7

#AC7BE7 is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.6% C 0.160 H 303.3°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#AC7BE7
RGBrgb(172, 123, 231)
HSLhsl(267, 69%, 69%)
HSVhsv(267, 47%, 91%)
CMYKcmyk(25.5%, 46.8%, 0%, 9.4%)
CIE-LABlab(60.52, 40.17, -47.86)
CIE-LCHlch(60.52, 62.48, 310.01°)
OKLaboklab(67.61% 0.0882 -0.1341)
OKLCHoklch(67.61% 0.16 303.3)
XYZxyz(38.5169, 28.7062, 79.0975)
Luminance0.2871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7BE7 #B6E77B
analogous
#7B80E7 #AC7BE7 #E27BE7
triadic
#AC7BE7 #E7AC7B #7BE7AC
tetradic
#AC7BE7 #E77B80 #B6E77B #7BE7E2
square
#AC7BE7 #E77B80 #B6E77B #7BE7E2
split-complementary
#AC7BE7 #E7E27B #80E77B
monochromatic
#6C24C4 #8B47DE #AC7BE7 #CDAFF0 #EDE3FA

Accessibility & contrast

On white

3.12
#AC7BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#AC7BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7BE7
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7BE7#FFFFFF#000000##000000
##AC7BE71.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C91EB
Deuteranopia (green-blind)
#6892E4
Tritanopia (blue-blind)
#A28EA6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ac7be7;
/* rgb */ color: rgb(172, 123, 231);
/* oklch */ color: oklch(67.6% 0.160 303.3);
Tailwind
colors: {
  custom: {
    50: '#c7a2ef',
    500: '#ac7be7',
    950: '#000000',
  },
}
SCSS
$custom: #ac7be7;
$custom-light: #c7a2ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7be7",
  "rgb": {
    "r": 172,
    "g": 123,
    "b": 231
  },
  "hsl": {
    "h": 267.222,
    "s": 69.231,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67612,
    "c": 0.16046,
    "h": 303.3
  },
  "luminance": 0.28706
}

Semantic roles & 50–950 ramp

primary
#AC7BE7
secondary
#E0EECF
accent
#D1147B
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AC7BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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