#A366DB#A366DB

#A366DB is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.7% C 0.177 H 306.0°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#A366DB
RGBrgb(163, 102, 219)
HSLhsl(271, 62%, 63%)
HSVhsv(271, 53%, 86%)
CMYKcmyk(25.6%, 53.4%, 0%, 14.1%)
CIE-LABlab(54.45, 46.46, -50.82)
CIE-LCHlch(54.45, 68.86, 312.43°)
OKLaboklab(62.68% 0.1039 -0.1429)
OKLCHoklch(62.68% 0.177 306)
XYZxyz(32.6391, 22.4040, 69.6090)
Luminance0.2240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366DB #9EDB66
analogous
#6866DB #A366DB #DB66D9
triadic
#A366DB #DBA366 #66DBA3
tetradic
#A366DB #DB6866 #9EDB66 #66D9DB
square
#A366DB #DB6866 #9EDB66 #66D9DB
split-complementary
#A366DB #D9DB66 #66DB68
monochromatic
#6626A1 #8534CF #A366DB #C198E7 #DFC9F2

Accessibility & contrast

On white

3.83
#A366DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#A366DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366DB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366DB#FFFFFF#000000##000000
##A366DB1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4080DF
Deuteranopia (green-blind)
#5383D8
Tritanopia (blue-blind)
#9A7B97
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a366db;
/* rgb */ color: rgb(163, 102, 219);
/* oklch */ color: oklch(62.7% 0.177 306.0);
Tailwind
colors: {
  custom: {
    50: '#c194e7',
    500: '#a366db',
    950: '#000000',
  },
}
SCSS
$custom: #a366db;
$custom-light: #c194e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a366db",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 271.282,
    "s": 61.905,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62683,
    "c": 0.17667,
    "h": 306
  },
  "luminance": 0.22404
}

Semantic roles & 50–950 ramp

primary
#A366DB
secondary
#CDE3B9
accent
#CA1C6F
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A366DB

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

Preview Lab → · Contrast checker → · Palette generator →

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