#AC7BE8#AC7BE8

#AC7BE8 is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.7% C 0.162 H 303.1°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#AC7BE8
RGBrgb(172, 123, 232)
HSLhsl(267, 70%, 70%)
HSVhsv(267, 47%, 91%)
CMYKcmyk(25.9%, 47%, 0%, 9%)
CIE-LABlab(60.57, 40.41, -48.33)
CIE-LCHlch(60.57, 63.00, 309.90°)
OKLaboklab(67.67% 0.0883 -0.1355)
OKLCHoklch(67.67% 0.162 303.1)
XYZxyz(38.6585, 28.7628, 79.8434)
Luminance0.2876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7BE8 #B7E87B
analogous
#7B81E8 #AC7BE8 #E27BE8
triadic
#AC7BE8 #E8AC7B #7BE8AC
tetradic
#AC7BE8 #E87B81 #B7E87B #7BE8E2
square
#AC7BE8 #E87B81 #B7E87B #7BE8E2
split-complementary
#AC7BE8 #E8E27B #81E87B
monochromatic
#6C23C6 #8B47DF #AC7BE8 #CDAFF1 #EEE3FA

Accessibility & contrast

On white

3.11
#AC7BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#AC7BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7BE8
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7BE8#FFFFFF#000000##000000
##AC7BE81.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C91EC
Deuteranopia (green-blind)
#6892E5
Tritanopia (blue-blind)
#A18EA7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ac7be8;
/* rgb */ color: rgb(172, 123, 232);
/* oklch */ color: oklch(67.7% 0.162 303.1);
Tailwind
colors: {
  custom: {
    50: '#c7a2f0',
    500: '#ac7be8',
    950: '#000000',
  },
}
SCSS
$custom: #ac7be8;
$custom-light: #c7a2f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7be8",
  "rgb": {
    "r": 172,
    "g": 123,
    "b": 232
  },
  "hsl": {
    "h": 266.972,
    "s": 70.323,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67666,
    "c": 0.16169,
    "h": 303.1
  },
  "luminance": 0.28763
}

Semantic roles & 50–950 ramp

primary
#AC7BE8
secondary
#E1EFD0
accent
#D2137C
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AC7BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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