#A662CA#A662CA

#A662CA is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.4% C 0.165 H 312.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A662CA
RGBrgb(166, 98, 202)
HSLhsl(279, 50%, 59%)
HSVhsv(279, 51%, 79%)
CMYKcmyk(17.8%, 51.5%, 0%, 20.8%)
CIE-LABlab(53.07, 45.55, -43.34)
CIE-LCHlch(53.07, 62.88, 316.42°)
OKLaboklab(61.44% 0.1116 -0.121)
OKLCHoklch(61.44% 0.165 312.7)
XYZxyz(30.7524, 21.1073, 58.3198)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A662CA #86CA62
analogous
#7262CA #A662CA #CA62BA
triadic
#A662CA #CAA662 #62CAA6
tetradic
#A662CA #CA7262 #86CA62 #62BACA
square
#A662CA #CA7262 #86CA62 #62BACA
split-complementary
#A662CA #BACA62 #62CA72
monochromatic
#662D85 #8A3CB3 #A662CA #C090D9 #DABEE9

Accessibility & contrast

On white

4.02
#A662CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#A662CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A662CA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A662CA#FFFFFF#000000##000000
##A662CA1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#487BCE
Deuteranopia (green-blind)
#5D80C7
Tritanopia (blue-blind)
#A3738D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a662ca;
/* rgb */ color: rgb(166, 98, 202);
/* oklch */ color: oklch(61.4% 0.165 312.7);
Tailwind
colors: {
  custom: {
    50: '#c391da',
    500: '#a662ca',
    950: '#000000',
  },
}
SCSS
$custom: #a662ca;
$custom-light: #c391da;
$custom-dark: #000000;
JSON
{
  "hex": "#a662ca",
  "rgb": {
    "r": 166,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 279.231,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61441,
    "c": 0.16461,
    "h": 312.7
  },
  "luminance": 0.21107
}

Semantic roles & 50–950 ramp

primary
#A662CA
secondary
#BED8AF
accent
#D94F7F
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A662CA

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

Preview Lab → · Contrast checker → · Palette generator →

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