#A662E9#A662E9

#A662E9 is a light, vivid violet. Relative luminance 0.227; OKLCH L 63.3% C 0.199 H 304.5°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#A662E9
RGBrgb(166, 98, 233)
HSLhsl(270, 75%, 65%)
HSVhsv(270, 58%, 91%)
CMYKcmyk(28.8%, 57.9%, 0%, 8.6%)
CIE-LABlab(54.79, 52.57, -58.14)
CIE-LCHlch(54.79, 78.38, 312.12°)
OKLaboklab(63.26% 0.1131 -0.1642)
OKLCHoklch(63.26% 0.199 304.5)
XYZxyz(34.7983, 22.7257, 79.6283)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A662E9 #A5E962
analogous
#6262E9 #A662E9 #E962E9
triadic
#A662E9 #E9A662 #62E9A6
tetradic
#A662E9 #E96262 #A5E962 #62E9E9
square
#A662E9 #E96262 #A5E962 #62E9E9
split-complementary
#A662E9 #E9E962 #62E962
monochromatic
#691AB7 #882CE1 #A662E9 #C498F1 #E3CDF8

Accessibility & contrast

On white

3.79
#A662E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#A662E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A662E9
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A662E9#FFFFFF#000000##000000
##A662E91.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2681ED
Deuteranopia (green-blind)
#4583E6
Tritanopia (blue-blind)
#9A7D9C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a662e9;
/* rgb */ color: rgb(166, 98, 233);
/* oklch */ color: oklch(63.3% 0.199 304.5);
Tailwind
colors: {
  custom: {
    50: '#c491f1',
    500: '#a662e9',
    950: '#000000',
  },
}
SCSS
$custom: #a662e9;
$custom-light: #c491f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a662e9",
  "rgb": {
    "r": 166,
    "g": 98,
    "b": 233
  },
  "hsl": {
    "h": 270.222,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63263,
    "c": 0.19942,
    "h": 304.5
  },
  "luminance": 0.22726
}

Semantic roles & 50–950 ramp

primary
#A662E9
secondary
#D3EABC
accent
#D80E72
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A662E9

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

Preview Lab → · Contrast checker → · Palette generator →

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