#A662F3#A662F3

#A662F3 is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 63.9% C 0.211 H 302.4°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A662F3
RGBrgb(166, 98, 243)
HSLhsl(268, 86%, 67%)
HSVhsv(268, 60%, 95%)
CMYKcmyk(31.7%, 59.7%, 0%, 4.7%)
CIE-LABlab(55.39, 54.93, -62.76)
CIE-LCHlch(55.39, 83.40, 311.19°)
OKLaboklab(63.9% 0.1129 -0.1778)
OKLCHoklch(63.9% 0.211 302.4)
XYZxyz(36.2675, 23.3134, 87.3659)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A662F3 #AFF362
analogous
#6267F3 #A662F3 #EF62F3
triadic
#A662F3 #F3A662 #62F3A6
tetradic
#A662F3 #F36267 #AFF362 #62F3EF
square
#A662F3 #F36267 #AFF362 #62F3EF
split-complementary
#A662F3 #F3EF62 #67F362
monochromatic
#6710CB #8629EF #A662F3 #C69BF7 #E6D4FC

Accessibility & contrast

On white

3.71
#A662F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#A662F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A662F3
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A662F3#FFFFFF#000000##000000
##A662F31.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A83F8
Deuteranopia (green-blind)
#3984F0
Tritanopia (blue-blind)
#9780A1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a662f3;
/* rgb */ color: rgb(166, 98, 243);
/* oklch */ color: oklch(63.9% 0.211 302.4);
Tailwind
colors: {
  custom: {
    50: '#c592f8',
    500: '#a662f3',
    950: '#000000',
  },
}
SCSS
$custom: #a662f3;
$custom-light: #c592f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a662f3",
  "rgb": {
    "r": 166,
    "g": 98,
    "b": 243
  },
  "hsl": {
    "h": 268.138,
    "s": 85.799,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63898,
    "c": 0.21063,
    "h": 302.4
  },
  "luminance": 0.23313
}

Semantic roles & 50–950 ramp

primary
#A662F3
secondary
#DAF0C1
accent
#E2037A
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A662F3

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

Preview Lab → · Contrast checker → · Palette generator →

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