#A662BB#A662BB

#A662BB is a mid, vivid purple. Relative luminance 0.204; OKLCH L 60.6% C 0.148 H 317.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A662BB
RGBrgb(166, 98, 187)
HSLhsl(286, 40%, 56%)
HSVhsv(286, 48%, 73%)
CMYKcmyk(11.2%, 47.6%, 0%, 26.7%)
CIE-LABlab(52.32, 42.36, -35.90)
CIE-LCHlch(52.32, 55.53, 319.72°)
OKLaboklab(60.65% 0.1098 -0.0994)
OKLCHoklch(60.65% 0.148 317.8)
XYZxyz(29.0620, 20.4312, 49.4168)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A662BB #77BB62
analogous
#7962BB #A662BB #BB62A3
triadic
#A662BB #BBA662 #62BBA6
tetradic
#A662BB #BB7962 #77BB62 #62A3BB
square
#A662BB #BB7962 #77BB62 #62A3BB
split-complementary
#A662BB #A3BB62 #62BB79
monochromatic
#623171 #87449C #A662BB #BE8DCD #D6B7E0

Accessibility & contrast

On white

4.13
#A662BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#A662BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A662BB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A662BB#FFFFFF#000000##000000
##A662BB1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5278BE
Deuteranopia (green-blind)
#667FB8
Tritanopia (blue-blind)
#A66E86
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a662bb;
/* rgb */ color: rgb(166, 98, 187);
/* oklch */ color: oklch(60.6% 0.148 317.8);
Tailwind
colors: {
  custom: {
    50: '#c291d0',
    500: '#a662bb',
    950: '#000000',
  },
}
SCSS
$custom: #a662bb;
$custom-light: #c291d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a662bb",
  "rgb": {
    "r": 166,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 285.843,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60645,
    "c": 0.1481,
    "h": 317.8
  },
  "luminance": 0.2043
}

Semantic roles & 50–950 ramp

primary
#A662BB
secondary
#B3CFAA
accent
#CF5874
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #A662BB

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

Preview Lab → · Contrast checker → · Palette generator →

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