#A366B4#A366B4

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

Color values

HEX#A366B4
RGBrgb(163, 102, 180)
HSLhsl(287, 34%, 55%)
HSVhsv(287, 43%, 71%)
CMYKcmyk(9.4%, 43.3%, 0%, 29.4%)
CIE-LABlab(52.49, 37.83, -31.61)
CIE-LCHlch(52.49, 49.30, 320.12°)
OKLaboklab(60.59% 0.0991 -0.0872)
OKLCHoklch(60.59% 0.132 318.7)
XYZxyz(28.0927, 20.5855, 45.6647)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366B4 #77B466
analogous
#7C66B4 #A366B4 #B4669E
triadic
#A366B4 #B4A366 #66B4A3
tetradic
#A366B4 #B47C66 #77B466 #669EB4
square
#A366B4 #B47C66 #77B466 #669EB4
split-complementary
#A366B4 #9EB466 #66B47C
monochromatic
#5F346B #844994 #A366B4 #BC8FC8 #D4B8DC

Accessibility & contrast

On white

4.10
#A366B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A366B4#FFFFFF#000000##000000
##A366B41.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A79B7
Deuteranopia (green-blind)
#6A7FB2
Tritanopia (blue-blind)
#A37084
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a366b4;
/* rgb */ color: rgb(163, 102, 180);
/* oklch */ color: oklch(60.6% 0.132 318.7);
Tailwind
colors: {
  custom: {
    50: '#c093ca',
    500: '#a366b4',
    950: '#000000',
  },
}
SCSS
$custom: #a366b4;
$custom-light: #c093ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a366b4",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 180
  },
  "hsl": {
    "h": 286.923,
    "s": 34.211,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60588,
    "c": 0.13198,
    "h": 318.7
  },
  "luminance": 0.20585
}

Semantic roles & 50–950 ramp

primary
#A366B4
secondary
#B2CBAB
accent
#CA5E75
background
#FBF9FC
surface
#F7F1F8
border
#D0CBD1
text
#120D13
muted
#817E82

Preview Lab

Preview with #A366B4

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

Preview Lab → · Contrast checker → · Palette generator →

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