#A366AB#A366AB

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

Color values

HEX#A366AB
RGBrgb(163, 102, 171)
HSLhsl(293, 29%, 54%)
HSVhsv(293, 40%, 67%)
CMYKcmyk(4.7%, 40.4%, 0%, 32.9%)
CIE-LABlab(52.10, 35.99, -27.01)
CIE-LCHlch(52.10, 45.00, 323.12°)
OKLaboklab(60.16% 0.0972 -0.074)
OKLCHoklch(60.16% 0.122 322.7)
XYZxyz(27.2055, 20.2306, 40.9920)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366AB #6EAB66
analogous
#8066AB #A366AB #AB6690
triadic
#A366AB #ABA366 #66ABA3
tetradic
#A366AB #AB8066 #6EAB66 #6690AB
square
#A366AB #AB8066 #6EAB66 #6690AB
split-complementary
#A366AB #90AB66 #66AB80
monochromatic
#5C3561 #824B89 #A366AB #BB8EC1 #D3B5D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A366AB#FFFFFF#000000##000000
##A366AB1.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)
#5E78AE
Deuteranopia (green-blind)
#6E7FA9
Tritanopia (blue-blind)
#A56E80
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a366ab;
/* rgb */ color: rgb(163, 102, 171);
/* oklch */ color: oklch(60.2% 0.122 322.7);
Tailwind
colors: {
  custom: {
    50: '#bf93c4',
    500: '#a366ab',
    950: '#000000',
  },
}
SCSS
$custom: #a366ab;
$custom-light: #bf93c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a366ab",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 171
  },
  "hsl": {
    "h": 293.043,
    "s": 29.114,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60162,
    "c": 0.12218,
    "h": 322.7
  },
  "luminance": 0.2023
}

Semantic roles & 50–950 ramp

primary
#A366AB
secondary
#ABC5A8
accent
#C5626E
background
#FBF9FC
surface
#F7F1F8
border
#D0CBD1
text
#120D12
muted
#817E81

Preview Lab

Preview with #A366AB

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

Preview Lab → · Contrast checker → · Palette generator →

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