#A662EF#A662EF

#A662EF is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.6% C 0.206 H 303.2°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#A662EF
RGBrgb(166, 98, 239)
HSLhsl(269, 82%, 66%)
HSVhsv(269, 59%, 94%)
CMYKcmyk(30.5%, 59%, 0%, 6.3%)
CIE-LABlab(55.15, 53.98, -60.92)
CIE-LCHlch(55.15, 81.39, 311.54°)
OKLaboklab(63.64% 0.113 -0.1724)
OKLCHoklch(63.64% 0.206 303.2)
XYZxyz(35.6700, 23.0744, 84.2192)
Luminance0.2307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A662EF #ABEF62
analogous
#6264EF #A662EF #EC62EF
triadic
#A662EF #EFA662 #62EFA6
tetradic
#A662EF #EF6264 #ABEF62 #62EFEC
square
#A662EF #EF6264 #ABEF62 #62EFEC
split-complementary
#A662EF #EFEC62 #64EF62
monochromatic
#6814C3 #872AE9 #A662EF #C59AF5 #E5D1FA

Accessibility & contrast

On white

3.74
#A662EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#A662EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A662EF
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A662EF#FFFFFF#000000##000000
##A662EF1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1983F4
Deuteranopia (green-blind)
#3E84EC
Tritanopia (blue-blind)
#987F9F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a662ef;
/* rgb */ color: rgb(166, 98, 239);
/* oklch */ color: oklch(63.6% 0.206 303.2);
Tailwind
colors: {
  custom: {
    50: '#c592f5',
    500: '#a662ef',
    950: '#000000',
  },
}
SCSS
$custom: #a662ef;
$custom-light: #c592f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a662ef",
  "rgb": {
    "r": 166,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 268.936,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63642,
    "c": 0.20615,
    "h": 303.2
  },
  "luminance": 0.23074
}

Semantic roles & 50–950 ramp

primary
#A662EF
secondary
#D7EEBF
accent
#DE0877
background
#FCF9FF
surface
#F8F1FE
border
#D1CBD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #A662EF

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

Preview Lab → · Contrast checker → · Palette generator →

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