#AC7BEC#AC7BEC

#AC7BEC is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.9% C 0.167 H 302.2°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#AC7BEC
RGBrgb(172, 123, 236)
HSLhsl(266, 75%, 70%)
HSVhsv(266, 48%, 93%)
CMYKcmyk(27.1%, 47.9%, 0%, 7.5%)
CIE-LABlab(60.78, 41.36, -50.23)
CIE-LCHlch(60.78, 65.07, 309.46°)
OKLaboklab(67.88% 0.0888 -0.141)
OKLCHoklch(67.88% 0.167 302.2)
XYZxyz(39.2331, 28.9927, 82.8698)
Luminance0.2899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7BEC #BBEC7B
analogous
#7B82EC #AC7BEC #E57BEC
triadic
#AC7BEC #ECAC7B #7BECAC
tetradic
#AC7BEC #EC7B82 #BBEC7B #7BECE5
square
#AC7BEC #EC7B82 #BBEC7B #7BECE5
split-complementary
#AC7BEC #ECE57B #82EC7B
monochromatic
#6B1ECF #8A46E4 #AC7BEC #CEB0F4 #EEE4FB

Accessibility & contrast

On white

3.09
#AC7BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#AC7BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7BEC
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7BEC#FFFFFF#000000##000000
##AC7BEC1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5992F0
Deuteranopia (green-blind)
#6592E9
Tritanopia (blue-blind)
#A08FA8
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ac7bec;
/* rgb */ color: rgb(172, 123, 236);
/* oklch */ color: oklch(67.9% 0.167 302.2);
Tailwind
colors: {
  custom: {
    50: '#c7a2f2',
    500: '#ac7bec',
    950: '#000000',
  },
}
SCSS
$custom: #ac7bec;
$custom-light: #c7a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7bec",
  "rgb": {
    "r": 172,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 266.018,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67885,
    "c": 0.16661,
    "h": 302.2
  },
  "luminance": 0.28993
}

Semantic roles & 50–950 ramp

primary
#AC7BEC
secondary
#E3F1D2
accent
#D70F80
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AC7BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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