#A663B2#A663B2

#A663B2 is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.4% C 0.137 H 321.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A663B2
RGBrgb(166, 99, 178)
HSLhsl(291, 34%, 54%)
HSVhsv(291, 44%, 70%)
CMYKcmyk(6.7%, 44.4%, 0%, 30.2%)
CIE-LABlab(52.11, 39.98, -31.02)
CIE-LCHlch(52.11, 50.60, 322.19°)
OKLaboklab(60.35% 0.1068 -0.0854)
OKLCHoklch(60.35% 0.137 321.4)
XYZxyz(28.2227, 20.2461, 44.5321)
Luminance0.2024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A663B2 #6FB263
analogous
#7F63B2 #A663B2 #B26397
triadic
#A663B2 #B2A663 #63B2A6
tetradic
#A663B2 #B27F63 #6FB263 #6397B2
square
#A663B2 #B27F63 #6FB263 #6397B2
split-complementary
#A663B2 #97B263 #63B27F
monochromatic
#603368 #854790 #A663B2 #BD8CC6 #D5B5DA

Accessibility & contrast

On white

4.16
#A663B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#A663B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A663B2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A663B2#FFFFFF#000000##000000
##A663B21.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5877B5
Deuteranopia (green-blind)
#6B7FB0
Tritanopia (blue-blind)
#A86D82
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a663b2;
/* rgb */ color: rgb(166, 99, 178);
/* oklch */ color: oklch(60.4% 0.137 321.4);
Tailwind
colors: {
  custom: {
    50: '#c291c9',
    500: '#a663b2',
    950: '#000000',
  },
}
SCSS
$custom: #a663b2;
$custom-light: #c291c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a663b2",
  "rgb": {
    "r": 166,
    "g": 99,
    "b": 178
  },
  "hsl": {
    "h": 290.886,
    "s": 33.906,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60354,
    "c": 0.13673,
    "h": 321.4
  },
  "luminance": 0.20245
}

Semantic roles & 50–950 ramp

primary
#A663B2
secondary
#ADC9A8
accent
#CA5E6E
background
#FCF9FC
surface
#F8F1F8
border
#D1CBD1
text
#130D13
muted
#827E82

Preview Lab

Preview with #A663B2

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

Preview Lab → · Contrast checker → · Palette generator →

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