#A366F4#A366F4

#A366F4 is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.2% C 0.206 H 300.5°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#A366F4
RGBrgb(163, 102, 244)
HSLhsl(266, 87%, 68%)
HSVhsv(266, 58%, 96%)
CMYKcmyk(33.2%, 58.2%, 0%, 4.3%)
CIE-LABlab(55.91, 52.42, -62.50)
CIE-LCHlch(55.91, 81.57, 309.99°)
OKLaboklab(64.22% 0.1044 -0.1771)
OKLCHoklch(64.22% 0.206 300.5)
XYZxyz(36.1809, 23.8207, 88.2621)
Luminance0.2382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366F4 #B7F466
analogous
#6670F4 #A366F4 #EA66F4
triadic
#A366F4 #F4A366 #66F4A3
tetradic
#A366F4 #F46670 #B7F466 #66F4EA
square
#A366F4 #F46670 #B7F466 #66F4EA
split-complementary
#A366F4 #F4EA66 #70F466
monochromatic
#620FD1 #812DF0 #A366F4 #C59FF8 #E8D8FC

Accessibility & contrast

On white

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

On black

5.76
#A366F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366F4
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366F4#FFFFFF#000000##000000
##A366F41.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A85F9
Deuteranopia (green-blind)
#3A85F1
Tritanopia (blue-blind)
#9283A3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a366f4;
/* rgb */ color: rgb(163, 102, 244);
/* oklch */ color: oklch(64.2% 0.206 300.5);
Tailwind
colors: {
  custom: {
    50: '#c394f8',
    500: '#a366f4',
    950: '#000000',
  },
}
SCSS
$custom: #a366f4;
$custom-light: #c394f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a366f4",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 244
  },
  "hsl": {
    "h": 265.775,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6422,
    "c": 0.20563,
    "h": 300.5
  },
  "luminance": 0.23821
}

Semantic roles & 50–950 ramp

primary
#A366F4
secondary
#DEF1C5
accent
#E30283
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A366F4

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

Preview Lab → · Contrast checker → · Palette generator →

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