#A662DE#A662DE

#A662DE is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.6% C 0.187 H 307.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#A662DE
RGBrgb(166, 98, 222)
HSLhsl(273, 65%, 63%)
HSVhsv(273, 56%, 87%)
CMYKcmyk(25.2%, 55.9%, 0%, 12.9%)
CIE-LABlab(54.15, 50.02, -52.98)
CIE-LCHlch(54.15, 72.86, 313.36°)
OKLaboklab(62.59% 0.1129 -0.1491)
OKLCHoklch(62.59% 0.187 307.1)
XYZxyz(33.2757, 22.1167, 71.6090)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A662DE #9ADE62
analogous
#6862DE #A662DE #DE62D8
triadic
#A662DE #DEA662 #62DEA6
tetradic
#A662DE #DE6862 #9ADE62 #62D8DE
square
#A662DE #DE6862 #9ADE62 #62D8DE
split-complementary
#A662DE #D8DE62 #62DE68
monochromatic
#6922A3 #892FD3 #A662DE #C395E9 #DFC7F3

Accessibility & contrast

On white

3.87
#A662DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#A662DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A662DE
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A662DE#FFFFFF#000000##000000
##A662DE1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#367FE2
Deuteranopia (green-blind)
#4F82DB
Tritanopia (blue-blind)
#9D7997
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a662de;
/* rgb */ color: rgb(166, 98, 222);
/* oklch */ color: oklch(62.6% 0.187 307.1);
Tailwind
colors: {
  custom: {
    50: '#c491e9',
    500: '#a662de',
    950: '#000000',
  },
}
SCSS
$custom: #a662de;
$custom-light: #c491e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a662de",
  "rgb": {
    "r": 166,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 272.903,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6259,
    "c": 0.18704,
    "h": 307.1
  },
  "luminance": 0.22116
}

Semantic roles & 50–950 ramp

primary
#A662DE
secondary
#CCE4B7
accent
#CD186A
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A662DE

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

Preview Lab → · Contrast checker → · Palette generator →

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