#AC68EC#AC68EC

#AC68EC is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.9% C 0.196 H 305.4°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AC68EC
RGBrgb(172, 104, 236)
HSLhsl(271, 78%, 67%)
HSVhsv(271, 56%, 93%)
CMYKcmyk(27.1%, 55.9%, 0%, 7.5%)
CIE-LABlab(56.81, 51.58, -56.55)
CIE-LCHlch(56.81, 76.54, 312.37°)
OKLaboklab(64.95% 0.1133 -0.1594)
OKLCHoklch(64.95% 0.196 305.4)
XYZxyz(37.1006, 24.7277, 82.1590)
Luminance0.2473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC68EC #A8EC68
analogous
#6A68EC #AC68EC #EC68EA
triadic
#AC68EC #ECAC68 #68ECAC
tetradic
#AC68EC #EC6A68 #A8EC68 #68EAEC
square
#AC68EC #EC6A68 #A8EC68 #68EAEC
split-complementary
#AC68EC #EAEC68 #68EC6A
monochromatic
#6F18C1 #8E32E5 #AC68EC #CA9EF3 #E8D5FA

Accessibility & contrast

On white

3.53
#AC68EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#AC68EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC68EC
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC68EC#FFFFFF#000000##000000
##AC68EC1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3686F0
Deuteranopia (green-blind)
#5089E9
Tritanopia (blue-blind)
#A181A0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ac68ec;
/* rgb */ color: rgb(172, 104, 236);
/* oklch */ color: oklch(64.9% 0.196 305.4);
Tailwind
colors: {
  custom: {
    50: '#c896f3',
    500: '#ac68ec',
    950: '#000000',
  },
}
SCSS
$custom: #ac68ec;
$custom-light: #c896f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac68ec",
  "rgb": {
    "r": 172,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 270.909,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64949,
    "c": 0.19554,
    "h": 305.4
  },
  "luminance": 0.24727
}

Semantic roles & 50–950 ramp

primary
#AC68EC
secondary
#D7EDC3
accent
#DA0C70
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AC68EC

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

Preview Lab → · Contrast checker → · Palette generator →

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