#A660F2#A660F2

#A660F2 is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.6% C 0.212 H 302.9°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#A660F2
RGBrgb(166, 96, 242)
HSLhsl(269, 85%, 66%)
HSVhsv(269, 60%, 95%)
CMYKcmyk(31.4%, 60.3%, 0%, 5.1%)
CIE-LABlab(54.95, 55.71, -62.91)
CIE-LCHlch(54.95, 84.03, 311.53°)
OKLaboklab(63.56% 0.1153 -0.1782)
OKLCHoklch(63.56% 0.212 302.9)
XYZxyz(35.9321, 22.8835, 86.5111)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A660F2 #ACF260
analogous
#6063F2 #A660F2 #EF60F2
triadic
#A660F2 #F2A660 #60F2A6
tetradic
#A660F2 #F26063 #ACF260 #60F2EF
square
#A660F2 #F26063 #ACF260 #60F2EF
split-complementary
#A660F2 #F2EF60 #63F260
monochromatic
#6810C7 #8627ED #A660F2 #C699F7 #E5D1FB

Accessibility & contrast

On white

3.77
#A660F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#A660F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A660F2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A660F2#FFFFFF#000000##000000
##A660F21.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#3783EF
Tritanopia (blue-blind)
#977EA0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a660f2;
/* rgb */ color: rgb(166, 96, 242);
/* oklch */ color: oklch(63.6% 0.212 302.9);
Tailwind
colors: {
  custom: {
    50: '#c590f7',
    500: '#a660f2',
    950: '#000000',
  },
}
SCSS
$custom: #a660f2;
$custom-light: #c590f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a660f2",
  "rgb": {
    "r": 166,
    "g": 96,
    "b": 242
  },
  "hsl": {
    "h": 268.767,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63557,
    "c": 0.21227,
    "h": 302.9
  },
  "luminance": 0.22884
}

Semantic roles & 50–950 ramp

primary
#A660F2
secondary
#D8EFBF
accent
#E10477
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A660F2

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

Preview Lab → · Contrast checker → · Palette generator →

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