#A662FD#A662FD

#A662FD is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.6% C 0.222 H 300.5°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A662FD
RGBrgb(166, 98, 253)
HSLhsl(266, 97%, 69%)
HSVhsv(266, 61%, 99%)
CMYKcmyk(34.4%, 61.3%, 0%, 0.8%)
CIE-LABlab(56.02, 57.32, -67.29)
CIE-LCHlch(56.02, 88.40, 310.42°)
OKLaboklab(64.55% 0.1125 -0.1911)
OKLCHoklch(64.55% 0.222 300.5)
XYZxyz(37.8189, 23.9339, 95.5367)
Luminance0.2393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A662FD #B9FD62
analogous
#626CFD #A662FD #F462FD
triadic
#A662FD #FDA662 #62FDA6
tetradic
#A662FD #FD626C #B9FD62 #62FDF4
square
#A662FD #FD626C #B9FD62 #62FDF4
split-complementary
#A662FD #FDF462 #6CFD62
monochromatic
#6503E2 #8426FC #A662FD #C89EFE #EBDBFF

Accessibility & contrast

On white

3.63
#A662FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#A662FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A662FD
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A662FD#FFFFFF#000000##000000
##A662FD1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#2885FA
Tritanopia (blue-blind)
#9383A7
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a662fd;
/* rgb */ color: rgb(166, 98, 253);
/* oklch */ color: oklch(64.6% 0.222 300.5);
Tailwind
colors: {
  custom: {
    50: '#c592ff',
    500: '#a662fd',
    950: '#000000',
  },
}
SCSS
$custom: #a662fd;
$custom-light: #c592ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a662fd",
  "rgb": {
    "r": 166,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 266.323,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.64555,
    "c": 0.22179,
    "h": 300.5
  },
  "luminance": 0.23934
}

Semantic roles & 50–950 ramp

primary
#A662FD
secondary
#E0F4C6
accent
#E60081
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A662FD

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

Preview Lab → · Contrast checker → · Palette generator →

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