#A662DD#A662DD

#A662DD is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.5% C 0.186 H 307.4°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#A662DD
RGBrgb(166, 98, 221)
HSLhsl(273, 64%, 63%)
HSVhsv(273, 56%, 87%)
CMYKcmyk(24.9%, 55.7%, 0%, 13.3%)
CIE-LABlab(54.09, 49.80, -52.50)
CIE-LCHlch(54.09, 72.36, 313.48°)
OKLaboklab(62.53% 0.1129 -0.1477)
OKLCHoklch(62.53% 0.186 307.4)
XYZxyz(33.1421, 22.0632, 70.9053)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A662DD #99DD62
analogous
#6962DD #A662DD #DD62D6
triadic
#A662DD #DDA662 #62DDA6
tetradic
#A662DD #DD6962 #99DD62 #62D6DD
square
#A662DD #DD6962 #99DD62 #62D6DD
split-complementary
#A662DD #D6DD62 #62DD69
monochromatic
#6923A2 #8930D2 #A662DD #C394E8 #DFC7F3

Accessibility & contrast

On white

3.88
#A662DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#A662DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A662DD
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A662DD#FFFFFF#000000##000000
##A662DD1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#377FE1
Deuteranopia (green-blind)
#5082DA
Tritanopia (blue-blind)
#9E7996
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a662dd;
/* rgb */ color: rgb(166, 98, 221);
/* oklch */ color: oklch(62.5% 0.186 307.4);
Tailwind
colors: {
  custom: {
    50: '#c391e8',
    500: '#a662dd',
    950: '#000000',
  },
}
SCSS
$custom: #a662dd;
$custom-light: #c391e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a662dd",
  "rgb": {
    "r": 166,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 273.171,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62531,
    "c": 0.18592,
    "h": 307.4
  },
  "luminance": 0.22063
}

Semantic roles & 50–950 ramp

primary
#A662DD
secondary
#CBE4B7
accent
#CC1969
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A662DD

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

Preview Lab → · Contrast checker → · Palette generator →

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