#A662DF#A662DF

#A662DF is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.6% C 0.188 H 306.9°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#A662DF
RGBrgb(166, 98, 223)
HSLhsl(273, 66%, 63%)
HSVhsv(273, 56%, 87%)
CMYKcmyk(25.6%, 56.1%, 0%, 12.5%)
CIE-LABlab(54.21, 50.25, -53.45)
CIE-LCHlch(54.21, 73.36, 313.23°)
OKLaboklab(62.65% 0.113 -0.1505)
OKLCHoklch(62.65% 0.188 306.9)
XYZxyz(33.4101, 22.1704, 72.3170)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A662DF #9BDF62
analogous
#6762DF #A662DF #DF62DA
triadic
#A662DF #DFA662 #62DFA6
tetradic
#A662DF #DF6762 #9BDF62 #62DADF
square
#A662DF #DF6762 #9BDF62 #62DADF
split-complementary
#A662DF #DADF62 #62DF67
monochromatic
#6922A5 #892FD5 #A662DF #C395E9 #E0C8F4

Accessibility & contrast

On white

3.86
#A662DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#A662DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A662DF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A662DF#FFFFFF#000000##000000
##A662DF1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#357FE3
Deuteranopia (green-blind)
#4E82DC
Tritanopia (blue-blind)
#9D7997
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a662df;
/* rgb */ color: rgb(166, 98, 223);
/* oklch */ color: oklch(62.6% 0.188 306.9);
Tailwind
colors: {
  custom: {
    50: '#c491e9',
    500: '#a662df',
    950: '#000000',
  },
}
SCSS
$custom: #a662df;
$custom-light: #c491e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a662df",
  "rgb": {
    "r": 166,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 272.64,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6265,
    "c": 0.18817,
    "h": 306.9
  },
  "luminance": 0.2217
}

Semantic roles & 50–950 ramp

primary
#A662DF
secondary
#CCE5B8
accent
#CE176B
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A662DF

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

Preview Lab → · Contrast checker → · Palette generator →

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