#A662BF#A662BF

#A662BF is a mid, vivid purple. Relative luminance 0.206; OKLCH L 60.9% C 0.152 H 316.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A662BF
RGBrgb(166, 98, 191)
HSLhsl(284, 42%, 57%)
HSVhsv(284, 49%, 75%)
CMYKcmyk(13.1%, 48.7%, 0%, 25.1%)
CIE-LABlab(52.51, 43.20, -37.91)
CIE-LCHlch(52.51, 57.47, 318.73°)
OKLaboklab(60.85% 0.1103 -0.1052)
OKLCHoklch(60.85% 0.152 316.4)
XYZxyz(29.4961, 20.6048, 51.7035)
Luminance0.2060 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A662BF #7BBF62
analogous
#7862BF #A662BF #BF62AA
triadic
#A662BF #BFA662 #62BFA6
tetradic
#A662BF #BF7862 #7BBF62 #62AABF
square
#A662BF #BF7862 #7BBF62 #62AABF
split-complementary
#A662BF #AABF62 #62BF78
monochromatic
#643076 #8842A2 #A662BF #BF8DD1 #D7B9E2

Accessibility & contrast

On white

4.10
#A662BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#A662BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A662BF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A662BF#FFFFFF#000000##000000
##A662BF1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5079C2
Deuteranopia (green-blind)
#647FBC
Tritanopia (blue-blind)
#A57088
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a662bf;
/* rgb */ color: rgb(166, 98, 191);
/* oklch */ color: oklch(60.9% 0.152 316.4);
Tailwind
colors: {
  custom: {
    50: '#c291d2',
    500: '#a662bf',
    950: '#000000',
  },
}
SCSS
$custom: #a662bf;
$custom-light: #c291d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a662bf",
  "rgb": {
    "r": 166,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 283.871,
    "s": 42.081,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60852,
    "c": 0.15246,
    "h": 316.4
  },
  "luminance": 0.20604
}

Semantic roles & 50–950 ramp

primary
#A662BF
secondary
#B6D1AB
accent
#D25677
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #A662BF

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

Preview Lab → · Contrast checker → · Palette generator →

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