#A662F2#A662F2

#A662F2 is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 63.8% C 0.209 H 302.6°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#A662F2
RGBrgb(166, 98, 242)
HSLhsl(268, 85%, 67%)
HSVhsv(268, 60%, 95%)
CMYKcmyk(31.4%, 59.5%, 0%, 5.1%)
CIE-LABlab(55.33, 54.69, -62.30)
CIE-LCHlch(55.33, 82.90, 311.28°)
OKLaboklab(63.83% 0.113 -0.1764)
OKLCHoklch(63.83% 0.21 302.6)
XYZxyz(36.1169, 23.2531, 86.5727)
Luminance0.2325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A662F2 #AEF262
analogous
#6266F2 #A662F2 #EE62F2
triadic
#A662F2 #F2A662 #62F2A6
tetradic
#A662F2 #F26266 #AEF262 #62F2EE
square
#A662F2 #F26266 #AEF262 #62F2EE
split-complementary
#A662F2 #F2EE62 #66F262
monochromatic
#6811C9 #8629ED #A662F2 #C69BF7 #E6D3FB

Accessibility & contrast

On white

3.72
#A662F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#A662F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A662F2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A662F2#FFFFFF#000000##000000
##A662F21.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F83F7
Deuteranopia (green-blind)
#3A84EF
Tritanopia (blue-blind)
#9780A1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a662f2;
/* rgb */ color: rgb(166, 98, 242);
/* oklch */ color: oklch(63.8% 0.209 302.6);
Tailwind
colors: {
  custom: {
    50: '#c592f7',
    500: '#a662f2',
    950: '#000000',
  },
}
SCSS
$custom: #a662f2;
$custom-light: #c592f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a662f2",
  "rgb": {
    "r": 166,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 268.333,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63834,
    "c": 0.2095,
    "h": 302.6
  },
  "luminance": 0.23253
}

Semantic roles & 50–950 ramp

primary
#A662F2
secondary
#D9EFC1
accent
#E10479
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A662F2

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

Preview Lab → · Contrast checker → · Palette generator →

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