#A662DC#A662DC

#A662DC is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.5% C 0.185 H 307.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#A662DC
RGBrgb(166, 98, 220)
HSLhsl(273, 64%, 62%)
HSVhsv(273, 55%, 86%)
CMYKcmyk(24.5%, 55.5%, 0%, 13.7%)
CIE-LABlab(54.04, 49.57, -52.03)
CIE-LCHlch(54.04, 71.86, 313.61°)
OKLaboklab(62.47% 0.1129 -0.1463)
OKLCHoklch(62.47% 0.185 307.6)
XYZxyz(33.0092, 22.0101, 70.2057)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A662DC #98DC62
analogous
#6962DC #A662DC #DC62D5
triadic
#A662DC #DCA662 #62DCA6
tetradic
#A662DC #DC6962 #98DC62 #62D5DC
square
#A662DC #DC6962 #98DC62 #62D5DC
split-complementary
#A662DC #D5DC62 #62DC69
monochromatic
#6924A0 #8A30D1 #A662DC #C294E7 #DFC6F2

Accessibility & contrast

On white

3.89
#A662DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#A662DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A662DC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A662DC#FFFFFF#000000##000000
##A662DC1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#387FE0
Deuteranopia (green-blind)
#5182D9
Tritanopia (blue-blind)
#9E7896
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a662dc;
/* rgb */ color: rgb(166, 98, 220);
/* oklch */ color: oklch(62.5% 0.185 307.6);
Tailwind
colors: {
  custom: {
    50: '#c391e7',
    500: '#a662dc',
    950: '#000000',
  },
}
SCSS
$custom: #a662dc;
$custom-light: #c391e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a662dc",
  "rgb": {
    "r": 166,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 273.443,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62471,
    "c": 0.1848,
    "h": 307.6
  },
  "luminance": 0.2201
}

Semantic roles & 50–950 ramp

primary
#A662DC
secondary
#CAE3B7
accent
#CB1A69
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A662DC

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

Preview Lab → · Contrast checker → · Palette generator →

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