#A366BA#A366BA

#A366BA is a mid, vivid purple. Relative luminance 0.208; OKLCH L 60.9% C 0.139 H 316.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#A366BA
RGBrgb(163, 102, 186)
HSLhsl(284, 38%, 56%)
HSVhsv(284, 45%, 73%)
CMYKcmyk(12.4%, 45.2%, 0%, 27.1%)
CIE-LABlab(52.77, 39.09, -34.65)
CIE-LCHlch(52.77, 52.24, 318.45°)
OKLaboklab(60.89% 0.1002 -0.0959)
OKLCHoklch(60.89% 0.139 316.2)
XYZxyz(28.7172, 20.8353, 48.9537)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366BA #7DBA66
analogous
#7966BA #A366BA #BA66A7
triadic
#A366BA #BAA366 #66BAA3
tetradic
#A366BA #BA7966 #7DBA66 #66A7BA
square
#A366BA #BA7966 #7DBA66 #66A7BA
split-complementary
#A366BA #A7BA66 #66BA79
monochromatic
#613372 #85469C #A366BA #BC90CD #D6BAE0

Accessibility & contrast

On white

4.06
#A366BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#A366BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366BA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366BA#FFFFFF#000000##000000
##A366BA1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#577ABD
Deuteranopia (green-blind)
#6780B8
Tritanopia (blue-blind)
#A27287
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a366ba;
/* rgb */ color: rgb(163, 102, 186);
/* oklch */ color: oklch(60.9% 0.139 316.2);
Tailwind
colors: {
  custom: {
    50: '#c093cf',
    500: '#a366ba',
    950: '#000000',
  },
}
SCSS
$custom: #a366ba;
$custom-light: #c093cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a366ba",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 186
  },
  "hsl": {
    "h": 283.571,
    "s": 37.838,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60885,
    "c": 0.13868,
    "h": 316.2
  },
  "luminance": 0.20834
}

Semantic roles & 50–950 ramp

primary
#A366BA
secondary
#B6CFAD
accent
#CE5A7A
background
#FBF9FC
surface
#F7F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #A366BA

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

Preview Lab → · Contrast checker → · Palette generator →

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