#AC66ED#AC66ED

#AC66ED is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.7% C 0.200 H 305.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AC66ED
RGBrgb(172, 102, 237)
HSLhsl(271, 79%, 66%)
HSVhsv(271, 57%, 93%)
CMYKcmyk(27.4%, 57%, 0%, 7.1%)
CIE-LABlab(56.47, 52.85, -57.64)
CIE-LCHlch(56.47, 78.20, 312.52°)
OKLaboklab(64.72% 0.1157 -0.1626)
OKLCHoklch(64.72% 0.2 305.4)
XYZxyz(37.0474, 24.3881, 82.8600)
Luminance0.2439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC66ED #A7ED66
analogous
#6966ED #AC66ED #ED66EB
triadic
#AC66ED #EDAC66 #66EDAC
tetradic
#AC66ED #ED6966 #A7ED66 #66EBED
square
#AC66ED #ED6966 #A7ED66 #66EBED
split-complementary
#AC66ED #EBED66 #66ED69
monochromatic
#6F17C2 #8E2FE7 #AC66ED #CA9DF3 #E7D4FA

Accessibility & contrast

On white

3.57
#AC66ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#AC66ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC66ED
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC66ED#FFFFFF#000000##000000
##AC66ED1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3085F1
Deuteranopia (green-blind)
#4C88EA
Tritanopia (blue-blind)
#A180A0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ac66ed;
/* rgb */ color: rgb(172, 102, 237);
/* oklch */ color: oklch(64.7% 0.200 305.4);
Tailwind
colors: {
  custom: {
    50: '#c894f3',
    500: '#ac66ed',
    950: '#000000',
  },
}
SCSS
$custom: #ac66ed;
$custom-light: #c894f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac66ed",
  "rgb": {
    "r": 172,
    "g": 102,
    "b": 237
  },
  "hsl": {
    "h": 271.111,
    "s": 78.947,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64722,
    "c": 0.19959,
    "h": 305.4
  },
  "luminance": 0.24388
}

Semantic roles & 50–950 ramp

primary
#AC66ED
secondary
#D7EDC2
accent
#DB0A6F
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AC66ED

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

Preview Lab → · Contrast checker → · Palette generator →

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