#A660C2#A660C2

#A660C2 is a mid, vivid purple. Relative luminance 0.204; OKLCH L 60.7% C 0.159 H 315.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A660C2
RGBrgb(166, 96, 194)
HSLhsl(283, 45%, 57%)
HSVhsv(283, 51%, 76%)
CMYKcmyk(14.4%, 50.5%, 0%, 23.9%)
CIE-LABlab(52.25, 44.90, -40.04)
CIE-LCHlch(52.25, 60.16, 318.27°)
OKLaboklab(60.71% 0.1135 -0.1114)
OKLCHoklch(60.71% 0.159 315.5)
XYZxyz(29.6449, 20.3686, 53.3984)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A660C2 #7CC260
analogous
#7560C2 #A660C2 #C260AD
triadic
#A660C2 #C2A660 #60C2A6
tetradic
#A660C2 #C27560 #7CC260 #60ADC2
square
#A660C2 #C27560 #7CC260 #60ADC2
split-complementary
#A660C2 #ADC260 #60C275
monochromatic
#642E79 #883FA5 #A660C2 #BF8CD3 #D8B8E4

Accessibility & contrast

On white

4.14
#A660C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#A660C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A660C2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A660C2#FFFFFF#000000##000000
##A660C21.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B78C5
Deuteranopia (green-blind)
#607FBF
Tritanopia (blue-blind)
#A46F88
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a660c2;
/* rgb */ color: rgb(166, 96, 194);
/* oklch */ color: oklch(60.7% 0.159 315.5);
Tailwind
colors: {
  custom: {
    50: '#c28fd5',
    500: '#a660c2',
    950: '#000000',
  },
}
SCSS
$custom: #a660c2;
$custom-light: #c28fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#a660c2",
  "rgb": {
    "r": 166,
    "g": 96,
    "b": 194
  },
  "hsl": {
    "h": 282.857,
    "s": 44.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60705,
    "c": 0.15906,
    "h": 315.5
  },
  "luminance": 0.20368
}

Semantic roles & 50–950 ramp

primary
#A660C2
secondary
#B6D3AB
accent
#D45478
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130D14
muted
#827D83

Preview Lab

Preview with #A660C2

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

Preview Lab → · Contrast checker → · Palette generator →

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