#A366B3#A366B3

#A366B3 is a mid, vivid purple. Relative luminance 0.205; OKLCH L 60.5% C 0.131 H 319.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#A366B3
RGBrgb(163, 102, 179)
HSLhsl(288, 34%, 55%)
HSVhsv(288, 43%, 70%)
CMYKcmyk(8.9%, 43%, 0%, 29.8%)
CIE-LABlab(52.45, 37.62, -31.11)
CIE-LCHlch(52.45, 48.82, 320.42°)
OKLaboklab(60.54% 0.0989 -0.0857)
OKLCHoklch(60.54% 0.131 319.1)
XYZxyz(27.9912, 20.5449, 45.1302)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366B3 #76B366
analogous
#7C66B3 #A366B3 #B3669D
triadic
#A366B3 #B3A366 #66B3A3
tetradic
#A366B3 #B37C66 #76B366 #669DB3
square
#A366B3 #B37C66 #76B366 #669DB3
split-complementary
#A366B3 #9DB366 #66B37C
monochromatic
#5F356A #834993 #A366B3 #BC8FC7 #D4B8DC

Accessibility & contrast

On white

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

On black

5.11
#A366B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366B3
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366B3#FFFFFF#000000##000000
##A366B31.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A79B6
Deuteranopia (green-blind)
#6B7FB1
Tritanopia (blue-blind)
#A47084
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a366b3;
/* rgb */ color: rgb(163, 102, 179);
/* oklch */ color: oklch(60.5% 0.131 319.1);
Tailwind
colors: {
  custom: {
    50: '#c093ca',
    500: '#a366b3',
    950: '#000000',
  },
}
SCSS
$custom: #a366b3;
$custom-light: #c093ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a366b3",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 179
  },
  "hsl": {
    "h": 287.532,
    "s": 33.624,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6054,
    "c": 0.13087,
    "h": 319.1
  },
  "luminance": 0.20544
}

Semantic roles & 50–950 ramp

primary
#A366B3
secondary
#B1CBAA
accent
#CA5E74
background
#FBF9FC
surface
#F7F1F8
border
#D0CBD1
text
#120D13
muted
#817E82

Preview Lab

Preview with #A366B3

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

Preview Lab → · Contrast checker → · Palette generator →

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