#A666F2#A666F2

#A666F2 is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.4% C 0.204 H 302.1°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#A666F2
RGBrgb(166, 102, 242)
HSLhsl(267, 84%, 67%)
HSVhsv(267, 58%, 95%)
CMYKcmyk(31.4%, 57.9%, 0%, 5.1%)
CIE-LABlab(56.11, 52.62, -61.05)
CIE-LCHlch(56.11, 80.60, 310.76°)
OKLaboklab(64.4% 0.1082 -0.1728)
OKLCHoklch(64.4% 0.204 302.1)
XYZxyz(36.5006, 24.0205, 86.7006)
Luminance0.2402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A666F2 #B2F266
analogous
#666CF2 #A666F2 #EC66F2
triadic
#A666F2 #F2A666 #66F2A6
tetradic
#A666F2 #F2666C #B2F266 #66F2EC
square
#A666F2 #F2666C #B2F266 #66F2EC
split-complementary
#A666F2 #F2EC66 #6CF266
monochromatic
#6711CC #852EED #A666F2 #C79EF7 #E8D7FC

Accessibility & contrast

On white

3.62
#A666F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#A666F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A666F2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A666F2#FFFFFF#000000##000000
##A666F21.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2285F7
Deuteranopia (green-blind)
#4086EF
Tritanopia (blue-blind)
#9782A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a666f2;
/* rgb */ color: rgb(166, 102, 242);
/* oklch */ color: oklch(64.4% 0.204 302.1);
Tailwind
colors: {
  custom: {
    50: '#c594f7',
    500: '#a666f2',
    950: '#000000',
  },
}
SCSS
$custom: #a666f2;
$custom-light: #c594f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a666f2",
  "rgb": {
    "r": 166,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 267.429,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.644,
    "c": 0.20389,
    "h": 302.1
  },
  "luminance": 0.24021
}

Semantic roles & 50–950 ramp

primary
#A666F2
secondary
#DCF0C4
accent
#E1057C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A666F2

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

Preview Lab → · Contrast checker → · Palette generator →

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