#A366D9#A366D9

#A366D9 is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.6% C 0.174 H 306.5°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#A366D9
RGBrgb(163, 102, 217)
HSLhsl(272, 60%, 63%)
HSVhsv(272, 53%, 85%)
CMYKcmyk(24.9%, 53%, 0%, 14.9%)
CIE-LABlab(54.34, 45.99, -49.87)
CIE-LCHlch(54.34, 67.84, 312.69°)
OKLaboklab(62.57% 0.1038 -0.1401)
OKLCHoklch(62.57% 0.174 306.5)
XYZxyz(32.3774, 22.2993, 68.2307)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366D9 #9CD966
analogous
#6A66D9 #A366D9 #D966D5
triadic
#A366D9 #D9A366 #66D9A3
tetradic
#A366D9 #D96A66 #9CD966 #66D5D9
square
#A366D9 #D96A66 #9CD966 #66D5D9
split-complementary
#A366D9 #D5D966 #66D96A
monochromatic
#66279D #8635CD #A366D9 #C097E5 #DEC8F1

Accessibility & contrast

On white

3.85
#A366D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#A366D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366D9
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366D9#FFFFFF#000000##000000
##A366D91.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4180DD
Deuteranopia (green-blind)
#5582D6
Tritanopia (blue-blind)
#9B7B96
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a366d9;
/* rgb */ color: rgb(163, 102, 217);
/* oklch */ color: oklch(62.6% 0.174 306.5);
Tailwind
colors: {
  custom: {
    50: '#c194e5',
    500: '#a366d9',
    950: '#000000',
  },
}
SCSS
$custom: #a366d9;
$custom-light: #c194e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a366d9",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 217
  },
  "hsl": {
    "h": 271.826,
    "s": 60.209,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62567,
    "c": 0.17435,
    "h": 306.5
  },
  "luminance": 0.22299
}

Semantic roles & 50–950 ramp

primary
#A366D9
secondary
#CCE2B8
accent
#C81E6E
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A366D9

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

Preview Lab → · Contrast checker → · Palette generator →

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