#AC66EF#AC66EF

#AC66EF is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 64.8% C 0.202 H 305.0°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AC66EF
RGBrgb(172, 102, 239)
HSLhsl(271, 81%, 67%)
HSVhsv(271, 57%, 94%)
CMYKcmyk(28%, 57.3%, 0%, 6.3%)
CIE-LABlab(56.59, 53.31, -58.57)
CIE-LCHlch(56.59, 79.20, 312.31°)
OKLaboklab(64.84% 0.1158 -0.1653)
OKLCHoklch(64.84% 0.202 305)
XYZxyz(37.3412, 24.5056, 84.4075)
Luminance0.2450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC66EF #A9EF66
analogous
#6866EF #AC66EF #EF66ED
triadic
#AC66EF #EFAC66 #66EFAC
tetradic
#AC66EF #EF6866 #A9EF66 #66EDEF
square
#AC66EF #EF6866 #A9EF66 #66EDEF
split-complementary
#AC66EF #EDEF66 #66EF68
monochromatic
#6F15C6 #8E2FE9 #AC66EF #CA9DF5 #E8D5FB

Accessibility & contrast

On white

3.56
#AC66EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#AC66EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC66EF
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC66EF#FFFFFF#000000##000000
##AC66EF1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D86F3
Deuteranopia (green-blind)
#4A88EC
Tritanopia (blue-blind)
#A081A1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ac66ef;
/* rgb */ color: rgb(172, 102, 239);
/* oklch */ color: oklch(64.8% 0.202 305.0);
Tailwind
colors: {
  custom: {
    50: '#c894f5',
    500: '#ac66ef',
    950: '#000000',
  },
}
SCSS
$custom: #ac66ef;
$custom-light: #c894f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac66ef",
  "rgb": {
    "r": 172,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 270.657,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64844,
    "c": 0.20184,
    "h": 305
  },
  "luminance": 0.24505
}

Semantic roles & 50–950 ramp

primary
#AC66EF
secondary
#D8EEC2
accent
#DD0870
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #AC66EF

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

Preview Lab → · Contrast checker → · Palette generator →

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