#A662ED#A662ED

#A662ED is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.5% C 0.204 H 303.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#A662ED
RGBrgb(166, 98, 237)
HSLhsl(269, 79%, 66%)
HSVhsv(269, 59%, 93%)
CMYKcmyk(30%, 58.6%, 0%, 7.1%)
CIE-LABlab(55.03, 53.51, -60.00)
CIE-LCHlch(55.03, 80.39, 311.73°)
OKLaboklab(63.52% 0.1131 -0.1697)
OKLCHoklch(63.52% 0.204 303.7)
XYZxyz(35.3762, 22.9569, 82.6718)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A662ED #A9ED62
analogous
#6263ED #A662ED #EC62ED
triadic
#A662ED #EDA662 #62EDA6
tetradic
#A662ED #ED6263 #A9ED62 #62EDEC
square
#A662ED #ED6263 #A9ED62 #62EDEC
split-complementary
#A662ED #EDEC62 #63ED62
monochromatic
#6816BF #872BE7 #A662ED #C599F3 #E4D0FA

Accessibility & contrast

On white

3.76
#A662ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#A662ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A662ED
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A662ED#FFFFFF#000000##000000
##A662ED1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E82F1
Deuteranopia (green-blind)
#4184EA
Tritanopia (blue-blind)
#997E9E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a662ed;
/* rgb */ color: rgb(166, 98, 237);
/* oklch */ color: oklch(63.5% 0.204 303.7);
Tailwind
colors: {
  custom: {
    50: '#c491f3',
    500: '#a662ed',
    950: '#000000',
  },
}
SCSS
$custom: #a662ed;
$custom-light: #c491f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a662ed",
  "rgb": {
    "r": 166,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 269.353,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63515,
    "c": 0.20391,
    "h": 303.7
  },
  "luminance": 0.22957
}

Semantic roles & 50–950 ramp

primary
#A662ED
secondary
#D6EDBE
accent
#DC0A75
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A662ED

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

Preview Lab → · Contrast checker → · Palette generator →

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