#A366F5#A366F5

#A366F5 is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.3% C 0.207 H 300.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A366F5
RGBrgb(163, 102, 245)
HSLhsl(266, 88%, 68%)
HSVhsv(266, 58%, 96%)
CMYKcmyk(33.5%, 58.4%, 0%, 3.9%)
CIE-LABlab(55.97, 52.66, -62.96)
CIE-LCHlch(55.97, 82.08, 309.91°)
OKLaboklab(64.28% 0.1044 -0.1785)
OKLCHoklch(64.28% 0.207 300.3)
XYZxyz(36.3331, 23.8816, 89.0639)
Luminance0.2388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366F5 #B8F566
analogous
#6671F5 #A366F5 #EA66F5
triadic
#A366F5 #F5A366 #66F5A3
tetradic
#A366F5 #F56671 #B8F566 #66F5EA
square
#A366F5 #F56671 #B8F566 #66F5EA
split-complementary
#A366F5 #F5EA66 #71F566
monochromatic
#620ED3 #802DF1 #A366F5 #C69FF9 #E8D9FD

Accessibility & contrast

On white

3.64
#A366F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#A366F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366F5
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366F5#FFFFFF#000000##000000
##A366F51.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1786FA
Deuteranopia (green-blind)
#3985F2
Tritanopia (blue-blind)
#9284A4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a366f5;
/* rgb */ color: rgb(163, 102, 245);
/* oklch */ color: oklch(64.3% 0.207 300.3);
Tailwind
colors: {
  custom: {
    50: '#c394f9',
    500: '#a366f5',
    950: '#000000',
  },
}
SCSS
$custom: #a366f5;
$custom-light: #c394f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a366f5",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 245
  },
  "hsl": {
    "h": 265.594,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64284,
    "c": 0.20679,
    "h": 300.3
  },
  "luminance": 0.23882
}

Semantic roles & 50–950 ramp

primary
#A366F5
secondary
#DFF1C6
accent
#E40183
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A366F5

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

Preview Lab → · Contrast checker → · Palette generator →

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