#A666F1#A666F1

#A666F1 is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.3% C 0.203 H 302.3°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A666F1
RGBrgb(166, 102, 241)
HSLhsl(268, 83%, 67%)
HSVhsv(268, 58%, 95%)
CMYKcmyk(31.1%, 57.7%, 0%, 5.5%)
CIE-LABlab(56.05, 52.38, -60.59)
CIE-LCHlch(56.05, 80.09, 310.84°)
OKLaboklab(64.34% 0.1082 -0.1714)
OKLCHoklch(64.34% 0.203 302.3)
XYZxyz(36.3508, 23.9606, 85.9118)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A666F1 #B1F166
analogous
#666BF1 #A666F1 #EC66F1
triadic
#A666F1 #F1A666 #66F1A6
tetradic
#A666F1 #F1666B #B1F166 #66F1EC
square
#A666F1 #F1666B #B1F166 #66F1EC
split-complementary
#A666F1 #F1EC66 #6BF166
monochromatic
#6712CA #852EEC #A666F1 #C79EF6 #E7D6FB

Accessibility & contrast

On white

3.63
#A666F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#A666F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A666F1
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A666F1#FFFFFF#000000##000000
##A666F11.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2485F6
Deuteranopia (green-blind)
#4286EE
Tritanopia (blue-blind)
#9782A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a666f1;
/* rgb */ color: rgb(166, 102, 241);
/* oklch */ color: oklch(64.3% 0.203 302.3);
Tailwind
colors: {
  custom: {
    50: '#c494f6',
    500: '#a666f1',
    950: '#000000',
  },
}
SCSS
$custom: #a666f1;
$custom-light: #c494f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a666f1",
  "rgb": {
    "r": 166,
    "g": 102,
    "b": 241
  },
  "hsl": {
    "h": 267.626,
    "s": 83.234,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64337,
    "c": 0.20275,
    "h": 302.3
  },
  "luminance": 0.23961
}

Semantic roles & 50–950 ramp

primary
#A666F1
secondary
#DBEFC3
accent
#E0067B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A666F1

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

Preview Lab → · Contrast checker → · Palette generator →

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