#A366F7#A366F7

#A366F7 is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.4% C 0.209 H 299.9°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#A366F7
RGBrgb(163, 102, 247)
HSLhsl(265, 90%, 68%)
HSVhsv(265, 59%, 97%)
CMYKcmyk(34%, 58.7%, 0%, 3.1%)
CIE-LABlab(56.09, 53.15, -63.87)
CIE-LCHlch(56.09, 83.10, 309.77°)
OKLaboklab(64.41% 0.1044 -0.1812)
OKLCHoklch(64.41% 0.209 299.9)
XYZxyz(36.6401, 24.0044, 90.6806)
Luminance0.2401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366F7 #BAF766
analogous
#6671F7 #A366F7 #EB66F7
triadic
#A366F7 #F7A366 #66F7A3
tetradic
#A366F7 #F76671 #BAF766 #66F7EB
square
#A366F7 #F76671 #BAF766 #66F7EB
split-complementary
#A366F7 #F7EB66 #71F766
monochromatic
#610BD7 #802CF4 #A366F7 #C6A0FA #E9DAFD

Accessibility & contrast

On white

3.62
#A366F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#A366F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366F7
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366F7#FFFFFF#000000##000000
##A366F71.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1086FC
Deuteranopia (green-blind)
#3685F4
Tritanopia (blue-blind)
#9184A5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a366f7;
/* rgb */ color: rgb(163, 102, 247);
/* oklch */ color: oklch(64.4% 0.209 299.9);
Tailwind
colors: {
  custom: {
    50: '#c394fb',
    500: '#a366f7',
    950: '#000000',
  },
}
SCSS
$custom: #a366f7;
$custom-light: #c394fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a366f7",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 265.241,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.64413,
    "c": 0.20908,
    "h": 299.9
  },
  "luminance": 0.24005
}

Semantic roles & 50–950 ramp

primary
#A366F7
secondary
#E0F2C7
accent
#E60085
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A366F7

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

Preview Lab → · Contrast checker → · Palette generator →

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