#A366C7#A366C7

#A366C7 is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.6% C 0.153 H 311.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#A366C7
RGBrgb(163, 102, 199)
HSLhsl(278, 46%, 59%)
HSVhsv(278, 49%, 78%)
CMYKcmyk(18.1%, 48.7%, 0%, 22%)
CIE-LABlab(53.40, 41.91, -41.13)
CIE-LCHlch(53.40, 58.72, 315.54°)
OKLaboklab(61.56% 0.1021 -0.1146)
OKLCHoklch(61.56% 0.153 311.7)
XYZxyz(30.1626, 21.4134, 56.5660)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366C7 #8AC766
analogous
#7366C7 #A366C7 #C766BB
triadic
#A366C7 #C7A366 #66C7A3
tetradic
#A366C7 #C77366 #8AC766 #66BBC7
square
#A366C7 #C77366 #8AC766 #66BBC7
split-complementary
#A366C7 #BBC766 #66C773
monochromatic
#643083 #8640B0 #A366C7 #BE93D7 #D9C0E8

Accessibility & contrast

On white

3.98
#A366C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#A366C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366C7
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366C7#FFFFFF#000000##000000
##A366C71.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7CCA
Deuteranopia (green-blind)
#6181C4
Tritanopia (blue-blind)
#9F758D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a366c7;
/* rgb */ color: rgb(163, 102, 199);
/* oklch */ color: oklch(61.6% 0.153 311.7);
Tailwind
colors: {
  custom: {
    50: '#c093d8',
    500: '#a366c7',
    950: '#000000',
  },
}
SCSS
$custom: #a366c7;
$custom-light: #c093d8;
$custom-dark: #000000;
JSON
{
  "hex": "#a366c7",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 199
  },
  "hsl": {
    "h": 277.732,
    "s": 46.411,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61561,
    "c": 0.15349,
    "h": 311.7
  },
  "luminance": 0.21413
}

Semantic roles & 50–950 ramp

primary
#A366C7
secondary
#BFD7B1
accent
#D65283
background
#FCF9FD
surface
#F8F1FA
border
#D1CBD3
text
#120D14
muted
#817E83

Preview Lab

Preview with #A366C7

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

Preview Lab → · Contrast checker → · Palette generator →

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