#A662E7#A662E7

#A662E7 is a light, vivid violet. Relative luminance 0.226; OKLCH L 63.1% C 0.197 H 305.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#A662E7
RGBrgb(166, 98, 231)
HSLhsl(271, 73%, 65%)
HSVhsv(271, 58%, 91%)
CMYKcmyk(28.1%, 57.6%, 0%, 9.4%)
CIE-LABlab(54.67, 52.10, -57.21)
CIE-LCHlch(54.67, 77.38, 312.32°)
OKLaboklab(63.14% 0.1131 -0.1615)
OKLCHoklch(63.14% 0.197 305)
XYZxyz(34.5142, 22.6121, 78.1321)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A662E7 #A3E762
analogous
#6462E7 #A662E7 #E762E5
triadic
#A662E7 #E7A662 #62E7A6
tetradic
#A662E7 #E76462 #A3E762 #62E5E7
square
#A662E7 #E76462 #A3E762 #62E5E7
split-complementary
#A662E7 #E5E762 #62E764
monochromatic
#691BB3 #882DDF #A662E7 #C497EF #E2CCF7

Accessibility & contrast

On white

3.80
#A662E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#A662E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A662E7
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A662E7#FFFFFF#000000##000000
##A662E71.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A81EB
Deuteranopia (green-blind)
#4783E4
Tritanopia (blue-blind)
#9B7C9B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a662e7;
/* rgb */ color: rgb(166, 98, 231);
/* oklch */ color: oklch(63.1% 0.197 305.0);
Tailwind
colors: {
  custom: {
    50: '#c491ef',
    500: '#a662e7',
    950: '#000000',
  },
}
SCSS
$custom: #a662e7;
$custom-light: #c491ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a662e7",
  "rgb": {
    "r": 166,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 270.677,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63139,
    "c": 0.19716,
    "h": 305
  },
  "luminance": 0.22612
}

Semantic roles & 50–950 ramp

primary
#A662E7
secondary
#D2E9BB
accent
#D61071
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A662E7

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

Preview Lab → · Contrast checker → · Palette generator →

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