#A366CD#A366CD

#A366CD is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.9% C 0.160 H 309.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#A366CD
RGBrgb(163, 102, 205)
HSLhsl(276, 51%, 60%)
HSVhsv(276, 50%, 80%)
CMYKcmyk(20.5%, 50.2%, 0%, 19.6%)
CIE-LABlab(53.70, 43.25, -44.07)
CIE-LCHlch(53.70, 61.75, 314.46°)
OKLaboklab(61.89% 0.1028 -0.1232)
OKLCHoklch(61.89% 0.16 309.8)
XYZxyz(30.8730, 21.6976, 60.3074)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366CD #90CD66
analogous
#6F66CD #A366CD #CD66C3
triadic
#A366CD #CDA366 #66CDA3
tetradic
#A366CD #CD6F66 #90CD66 #66C3CD
square
#A366CD #CD6F66 #90CD66 #66C3CD
split-complementary
#A366CD #C3CD66 #66CD6F
monochromatic
#652D8B #863DB9 #A366CD #BF94DC #DAC2EB

Accessibility & contrast

On white

3.93
#A366CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#A366CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366CD
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366CD#FFFFFF#000000##000000
##A366CD1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7ED1
Deuteranopia (green-blind)
#5D81CA
Tritanopia (blue-blind)
#9E7790
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a366cd;
/* rgb */ color: rgb(163, 102, 205);
/* oklch */ color: oklch(61.9% 0.160 309.8);
Tailwind
colors: {
  custom: {
    50: '#c093dd',
    500: '#a366cd',
    950: '#000000',
  },
}
SCSS
$custom: #a366cd;
$custom-light: #c093dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a366cd",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 275.534,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61887,
    "c": 0.16042,
    "h": 309.8
  },
  "luminance": 0.21697
}

Semantic roles & 50–950 ramp

primary
#A366CD
secondary
#C4DBB4
accent
#BE2765
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A366CD

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

Preview Lab → · Contrast checker → · Palette generator →

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