#A663BA#A663BA

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

Color values

HEX#A663BA
RGBrgb(166, 99, 186)
HSLhsl(286, 39%, 56%)
HSVhsv(286, 47%, 73%)
CMYKcmyk(10.8%, 46.8%, 0%, 27.1%)
CIE-LABlab(52.48, 41.61, -35.07)
CIE-LCHlch(52.48, 54.42, 319.87°)
OKLaboklab(60.75% 0.1082 -0.097)
OKLCHoklch(60.75% 0.145 318.1)
XYZxyz(29.0494, 20.5768, 48.8863)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A663BA #77BA63
analogous
#7A63BA #A663BA #BA63A2
triadic
#A663BA #BAA663 #63BAA6
tetradic
#A663BA #BA7A63 #77BA63 #63A2BA
square
#A663BA #BA7A63 #77BA63 #63A2BA
split-complementary
#A663BA #A2BA63 #63BA7A
monochromatic
#623271 #87459B #A663BA #BE8DCD #D6B8E0

Accessibility & contrast

On white

4.11
#A663BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A663BA#FFFFFF#000000##000000
##A663BA1.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5479BD
Deuteranopia (green-blind)
#677FB8
Tritanopia (blue-blind)
#A66F86
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a663ba;
/* rgb */ color: rgb(166, 99, 186);
/* oklch */ color: oklch(60.8% 0.145 318.1);
Tailwind
colors: {
  custom: {
    50: '#c291cf',
    500: '#a663ba',
    950: '#000000',
  },
}
SCSS
$custom: #a663ba;
$custom-light: #c291cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a663ba",
  "rgb": {
    "r": 166,
    "g": 99,
    "b": 186
  },
  "hsl": {
    "h": 286.207,
    "s": 38.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6075,
    "c": 0.14532,
    "h": 318.1
  },
  "luminance": 0.20576
}

Semantic roles & 50–950 ramp

primary
#A663BA
secondary
#B3CEAA
accent
#CF5974
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #A663BA

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

Preview Lab → · Contrast checker → · Palette generator →

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