#A366CB#A366CB

#A366CB is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.8% C 0.158 H 310.4°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#A366CB
RGBrgb(163, 102, 203)
HSLhsl(276, 49%, 60%)
HSVhsv(276, 50%, 80%)
CMYKcmyk(19.7%, 49.8%, 0%, 20.4%)
CIE-LABlab(53.60, 42.80, -43.09)
CIE-LCHlch(53.60, 60.74, 314.81°)
OKLaboklab(61.78% 0.1025 -0.1203)
OKLCHoklch(61.78% 0.158 310.4)
XYZxyz(30.6331, 21.6016, 59.0441)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366CB #8ECB66
analogous
#7166CB #A366CB #CB66C0
triadic
#A366CB #CBA366 #66CBA3
tetradic
#A366CB #CB7166 #8ECB66 #66C0CB
square
#A366CB #CB7166 #8ECB66 #66C0CB
split-complementary
#A366CB #C0CB66 #66CB71
monochromatic
#652E88 #863EB6 #A366CB #BE94DB #DAC1EA

Accessibility & contrast

On white

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

On black

5.32
#A366CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366CB
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366CB#FFFFFF#000000##000000
##A366CB1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCE
Deuteranopia (green-blind)
#5E81C8
Tritanopia (blue-blind)
#9E778F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a366cb;
/* rgb */ color: rgb(163, 102, 203);
/* oklch */ color: oklch(61.8% 0.158 310.4);
Tailwind
colors: {
  custom: {
    50: '#c093db',
    500: '#a366cb',
    950: '#000000',
  },
}
SCSS
$custom: #a366cb;
$custom-light: #c093db;
$custom-dark: #000000;
JSON
{
  "hex": "#a366cb",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 276.238,
    "s": 49.268,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61777,
    "c": 0.15811,
    "h": 310.4
  },
  "luminance": 0.21601
}

Semantic roles & 50–950 ramp

primary
#A366CB
secondary
#C2DAB3
accent
#D94F86
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A366CB

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

Preview Lab → · Contrast checker → · Palette generator →

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