#A366C2#A366C2

#A366C2 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.3% C 0.148 H 313.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A366C2
RGBrgb(163, 102, 194)
HSLhsl(280, 43%, 58%)
HSVhsv(280, 47%, 76%)
CMYKcmyk(16%, 47.4%, 0%, 23.9%)
CIE-LABlab(53.15, 40.81, -38.65)
CIE-LCHlch(53.15, 56.21, 316.56°)
OKLaboklab(61.3% 0.1014 -0.1075)
OKLCHoklch(61.3% 0.148 313.3)
XYZxyz(29.5916, 21.1850, 53.5588)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366C2 #85C266
analogous
#7566C2 #A366C2 #C266B3
triadic
#A366C2 #C2A366 #66C2A3
tetradic
#A366C2 #C27566 #85C266 #66B3C2
square
#A366C2 #C27566 #85C266 #66B3C2
split-complementary
#A366C2 #B3C266 #66C275
monochromatic
#63317C #8643A8 #A366C2 #BD92D3 #D8BEE5

Accessibility & contrast

On white

4.01
#A366C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#A366C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366C2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366C2#FFFFFF#000000##000000
##A366C21.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#527CC5
Deuteranopia (green-blind)
#6380C0
Tritanopia (blue-blind)
#A0748B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a366c2;
/* rgb */ color: rgb(163, 102, 194);
/* oklch */ color: oklch(61.3% 0.148 313.3);
Tailwind
colors: {
  custom: {
    50: '#c093d5',
    500: '#a366c2',
    950: '#000000',
  },
}
SCSS
$custom: #a366c2;
$custom-light: #c093d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a366c2",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 194
  },
  "hsl": {
    "h": 279.783,
    "s": 42.991,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61296,
    "c": 0.14776,
    "h": 313.3
  },
  "luminance": 0.21184
}

Semantic roles & 50–950 ramp

primary
#A366C2
secondary
#BCD4B0
accent
#D3557F
background
#FCF9FD
surface
#F8F1FA
border
#D1CBD3
text
#120D14
muted
#817E83

Preview Lab

Preview with #A366C2

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

Preview Lab → · Contrast checker → · Palette generator →

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