#AA68EC#AA68EC

#AA68EC is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.7% C 0.195 H 304.6°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AA68EC
RGBrgb(170, 104, 236)
HSLhsl(270, 78%, 67%)
HSVhsv(270, 56%, 93%)
CMYKcmyk(28%, 55.9%, 0%, 7.5%)
CIE-LABlab(56.59, 51.10, -56.91)
CIE-LCHlch(56.59, 76.49, 311.92°)
OKLaboklab(64.74% 0.1108 -0.1605)
OKLCHoklch(64.74% 0.195 304.6)
XYZxyz(36.6649, 24.5030, 82.1386)
Luminance0.2450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA68EC #AAEC68
analogous
#6868EC #AA68EC #EC68EC
triadic
#AA68EC #ECAA68 #68ECAA
tetradic
#AA68EC #EC6868 #AAEC68 #68ECEC
square
#AA68EC #EC6868 #AAEC68 #68ECEC
split-complementary
#AA68EC #ECEC68 #68EC68
monochromatic
#6D18C1 #8B32E5 #AA68EC #C99EF3 #E7D5FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA68EC#FFFFFF#000000##000000
##AA68EC1.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)
#3586F0
Deuteranopia (green-blind)
#4E88E9
Tritanopia (blue-blind)
#9E81A0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #aa68ec;
/* rgb */ color: rgb(170, 104, 236);
/* oklch */ color: oklch(64.7% 0.195 304.6);
Tailwind
colors: {
  custom: {
    50: '#c795f3',
    500: '#aa68ec',
    950: '#000000',
  },
}
SCSS
$custom: #aa68ec;
$custom-light: #c795f3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa68ec",
  "rgb": {
    "r": 170,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 270,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64737,
    "c": 0.19505,
    "h": 304.6
  },
  "luminance": 0.24503
}

Semantic roles & 50–950 ramp

primary
#AA68EC
secondary
#D8EDC3
accent
#DA0C73
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AA68EC

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

Preview Lab → · Contrast checker → · Palette generator →

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