#AC66EB#AC66EB

#AC66EB is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.6% C 0.197 H 305.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AC66EB
RGBrgb(172, 102, 235)
HSLhsl(272, 77%, 66%)
HSVhsv(272, 57%, 92%)
CMYKcmyk(26.8%, 56.6%, 0%, 7.8%)
CIE-LABlab(56.36, 52.39, -56.71)
CIE-LCHlch(56.36, 77.20, 312.73°)
OKLaboklab(64.6% 0.1157 -0.1599)
OKLCHoklch(64.6% 0.197 305.9)
XYZxyz(36.7568, 24.2719, 81.3297)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC66EB #A5EB66
analogous
#6966EB #AC66EB #EB66E7
triadic
#AC66EB #EBAC66 #66EBAC
tetradic
#AC66EB #EB6966 #A5EB66 #66E7EB
square
#AC66EB #EB6966 #A5EB66 #66E7EB
split-complementary
#AC66EB #E7EB66 #66EB69
monochromatic
#7019BE #8F30E4 #AC66EB #C99CF2 #E7D2F9

Accessibility & contrast

On white

3.59
#AC66EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#AC66EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC66EB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC66EB#FFFFFF#000000##000000
##AC66EB1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3285EF
Deuteranopia (green-blind)
#4E88E8
Tritanopia (blue-blind)
#A27F9F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ac66eb;
/* rgb */ color: rgb(172, 102, 235);
/* oklch */ color: oklch(64.6% 0.197 305.9);
Tailwind
colors: {
  custom: {
    50: '#c894f2',
    500: '#ac66eb',
    950: '#000000',
  },
}
SCSS
$custom: #ac66eb;
$custom-light: #c894f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac66eb",
  "rgb": {
    "r": 172,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 271.579,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.646,
    "c": 0.19736,
    "h": 305.9
  },
  "luminance": 0.24272
}

Semantic roles & 50–950 ramp

primary
#AC66EB
secondary
#D5ECC1
accent
#D90C6D
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AC66EB

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

Preview Lab → · Contrast checker → · Palette generator →

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