#A366CA#A366CA

#A366CA is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.7% C 0.157 H 310.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#A366CA
RGBrgb(163, 102, 202)
HSLhsl(277, 49%, 60%)
HSVhsv(277, 50%, 79%)
CMYKcmyk(19.3%, 49.5%, 0%, 20.8%)
CIE-LABlab(53.55, 42.58, -42.60)
CIE-LCHlch(53.55, 60.23, 314.99°)
OKLaboklab(61.72% 0.1024 -0.1189)
OKLCHoklch(61.72% 0.157 310.7)
XYZxyz(30.5144, 21.5541, 58.4185)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366CA #8DCA66
analogous
#7166CA #A366CA #CA66BF
triadic
#A366CA #CAA366 #66CAA3
tetradic
#A366CA #CA7166 #8DCA66 #66BFCA
square
#A366CA #CA7166 #8DCA66 #66BFCA
split-complementary
#A366CA #BFCA66 #66CA71
monochromatic
#642F87 #863EB4 #A366CA #BE93DA #DAC1E9

Accessibility & contrast

On white

3.95
#A366CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#A366CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366CA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366CA#FFFFFF#000000##000000
##A366CA1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCD
Deuteranopia (green-blind)
#5F81C7
Tritanopia (blue-blind)
#9E768F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a366ca;
/* rgb */ color: rgb(163, 102, 202);
/* oklch */ color: oklch(61.7% 0.157 310.7);
Tailwind
colors: {
  custom: {
    50: '#c093da',
    500: '#a366ca',
    950: '#000000',
  },
}
SCSS
$custom: #a366ca;
$custom-light: #c093da;
$custom-dark: #000000;
JSON
{
  "hex": "#a366ca",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 276.6,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61723,
    "c": 0.15696,
    "h": 310.7
  },
  "luminance": 0.21554
}

Semantic roles & 50–950 ramp

primary
#A366CA
secondary
#C2D9B2
accent
#D85085
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A366CA

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

Preview Lab → · Contrast checker → · Palette generator →

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