#AC7EEF#AC7EEF

#AC7EEF is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.5% C 0.166 H 300.9°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#AC7EEF
RGBrgb(172, 126, 239)
HSLhsl(264, 78%, 72%)
HSVhsv(264, 47%, 94%)
CMYKcmyk(28%, 47.3%, 0%, 6.3%)
CIE-LABlab(61.59, 40.42, -50.61)
CIE-LCHlch(61.59, 64.76, 308.61°)
OKLaboklab(68.54% 0.0851 -0.1421)
OKLCHoklch(68.54% 0.166 300.9)
XYZxyz(40.0505, 29.9242, 85.3106)
Luminance0.2992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7EEF #C1EF7E
analogous
#7E89EF #AC7EEF #E57EEF
triadic
#AC7EEF #EFAC7E #7EEFAC
tetradic
#AC7EEF #EF7E89 #C1EF7E #7EEFE5
square
#AC7EEF #EF7E89 #C1EF7E #7EEFE5
split-complementary
#AC7EEF #EFE57E #89EF7E
monochromatic
#681BD8 #8948E8 #AC7EEF #CFB4F6 #EDE4FC

Accessibility & contrast

On white

3.01
#AC7EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#AC7EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7EEF
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7EEF#FFFFFF#000000##000000
##AC7EEF1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B94F3
Deuteranopia (green-blind)
#6794EC
Tritanopia (blue-blind)
#9F92AB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ac7eef;
/* rgb */ color: rgb(172, 126, 239);
/* oklch */ color: oklch(68.5% 0.166 300.9);
Tailwind
colors: {
  custom: {
    50: '#c7a4f5',
    500: '#ac7eef',
    950: '#000000',
  },
}
SCSS
$custom: #ac7eef;
$custom-light: #c7a4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7eef",
  "rgb": {
    "r": 172,
    "g": 126,
    "b": 239
  },
  "hsl": {
    "h": 264.425,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68542,
    "c": 0.16564,
    "h": 300.9
  },
  "luminance": 0.29924
}

Semantic roles & 50–950 ramp

primary
#AC7EEF
secondary
#E7F3D6
accent
#DA0B86
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #AC7EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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