#A662F5#A662F5

#A662F5 is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.0% C 0.213 H 302.0°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#A662F5
RGBrgb(166, 98, 245)
HSLhsl(268, 88%, 67%)
HSVhsv(268, 60%, 96%)
CMYKcmyk(32.2%, 60%, 0%, 3.9%)
CIE-LABlab(55.52, 55.40, -63.67)
CIE-LCHlch(55.52, 84.40, 311.03°)
OKLaboklab(64.03% 0.1129 -0.1805)
OKLCHoklch(64.03% 0.213 302)
XYZxyz(36.5711, 23.4348, 88.9652)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A662F5 #B1F562
analogous
#6268F5 #A662F5 #EF62F5
triadic
#A662F5 #F5A662 #62F5A6
tetradic
#A662F5 #F56268 #B1F562 #62F5EF
square
#A662F5 #F56268 #B1F562 #62F5EF
split-complementary
#A662F5 #F5EF62 #68F562
monochromatic
#670DCF #8528F1 #A662F5 #C79CF9 #E7D5FC

Accessibility & contrast

On white

3.69
#A662F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#A662F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A662F5
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A662F5#FFFFFF#000000##000000
##A662F51.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FA
Deuteranopia (green-blind)
#3684F2
Tritanopia (blue-blind)
#9681A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a662f5;
/* rgb */ color: rgb(166, 98, 245);
/* oklch */ color: oklch(64.0% 0.213 302.0);
Tailwind
colors: {
  custom: {
    50: '#c592f9',
    500: '#a662f5',
    950: '#000000',
  },
}
SCSS
$custom: #a662f5;
$custom-light: #c592f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a662f5",
  "rgb": {
    "r": 166,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 267.755,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64028,
    "c": 0.21286,
    "h": 302
  },
  "luminance": 0.23435
}

Semantic roles & 50–950 ramp

primary
#A662F5
secondary
#DBF1C2
accent
#E5017B
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A662F5

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

Preview Lab → · Contrast checker → · Palette generator →

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