#A661EC#A661EC

#A661EC is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.3% C 0.204 H 304.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#A661EC
RGBrgb(166, 97, 236)
HSLhsl(270, 79%, 65%)
HSVhsv(270, 59%, 93%)
CMYKcmyk(29.7%, 58.9%, 0%, 7.5%)
CIE-LABlab(54.78, 53.79, -59.84)
CIE-LCHlch(54.78, 80.46, 311.95°)
OKLaboklab(63.31% 0.1143 -0.1692)
OKLCHoklch(63.31% 0.204 304)
XYZxyz(35.1375, 22.7126, 81.8735)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A661EC #A7EC61
analogous
#6161EC #A661EC #EB61EC
triadic
#A661EC #ECA661 #61ECA6
tetradic
#A661EC #EC6161 #A7EC61 #61ECEB
square
#A661EC #EC6161 #A7EC61 #61ECEB
split-complementary
#A661EC #ECEB61 #61EC61
monochromatic
#6917BC #872AE5 #A661EC #C598F3 #E4CEF9

Accessibility & contrast

On white

3.79
#A661EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#A661EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A661EC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A661EC#FFFFFF#000000##000000
##A661EC1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D81F0
Deuteranopia (green-blind)
#4083E9
Tritanopia (blue-blind)
#997D9D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a661ec;
/* rgb */ color: rgb(166, 97, 236);
/* oklch */ color: oklch(63.3% 0.204 304.0);
Tailwind
colors: {
  custom: {
    50: '#c491f3',
    500: '#a661ec',
    950: '#000000',
  },
}
SCSS
$custom: #a661ec;
$custom-light: #c491f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a661ec",
  "rgb": {
    "r": 166,
    "g": 97,
    "b": 236
  },
  "hsl": {
    "h": 269.784,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63311,
    "c": 0.20421,
    "h": 304
  },
  "luminance": 0.22713
}

Semantic roles & 50–950 ramp

primary
#A661EC
secondary
#D5ECBD
accent
#DB0B73
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A661EC

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

Preview Lab → · Contrast checker → · Palette generator →

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