#A366C4#A366C4

#A366C4 is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.4% C 0.150 H 312.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A366C4
RGBrgb(163, 102, 196)
HSLhsl(279, 44%, 58%)
HSVhsv(279, 48%, 77%)
CMYKcmyk(16.8%, 48%, 0%, 23.1%)
CIE-LABlab(53.25, 41.25, -39.64)
CIE-LCHlch(53.25, 57.21, 316.14°)
OKLaboklab(61.4% 0.1017 -0.1103)
OKLCHoklch(61.4% 0.15 312.7)
XYZxyz(29.8177, 21.2754, 54.7497)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366C4 #87C466
analogous
#7466C4 #A366C4 #C466B6
triadic
#A366C4 #C4A366 #66C4A3
tetradic
#A366C4 #C47466 #87C466 #66B6C4
square
#A366C4 #C47466 #87C466 #66B6C4
split-complementary
#A366C4 #B6C466 #66C474
monochromatic
#63317F #8642AB #A366C4 #BE92D5 #D8BEE6

Accessibility & contrast

On white

4.00
#A366C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#A366C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366C4
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366C4#FFFFFF#000000##000000
##A366C41.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#517CC7
Deuteranopia (green-blind)
#6281C1
Tritanopia (blue-blind)
#A0758C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a366c4;
/* rgb */ color: rgb(163, 102, 196);
/* oklch */ color: oklch(61.4% 0.150 312.7);
Tailwind
colors: {
  custom: {
    50: '#c093d6',
    500: '#a366c4',
    950: '#000000',
  },
}
SCSS
$custom: #a366c4;
$custom-light: #c093d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a366c4",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 196
  },
  "hsl": {
    "h": 278.936,
    "s": 44.34,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61401,
    "c": 0.15005,
    "h": 312.7
  },
  "luminance": 0.21275
}

Semantic roles & 50–950 ramp

primary
#A366C4
secondary
#BDD6B0
accent
#D45481
background
#FCF9FD
surface
#F8F1FA
border
#D1CBD3
text
#120D14
muted
#817E83

Preview Lab

Preview with #A366C4

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

Preview Lab → · Contrast checker → · Palette generator →

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