#A366F6#A366F6

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

Color values

HEX#A366F6
RGBrgb(163, 102, 246)
HSLhsl(265, 89%, 68%)
HSVhsv(265, 59%, 96%)
CMYKcmyk(33.7%, 58.5%, 0%, 3.5%)
CIE-LABlab(56.03, 52.91, -63.42)
CIE-LCHlch(56.03, 82.59, 309.84°)
OKLaboklab(64.35% 0.1044 -0.1798)
OKLCHoklch(64.35% 0.208 300.1)
XYZxyz(36.4862, 23.9428, 89.8701)
Luminance0.2394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366F6 #B9F666
analogous
#6671F6 #A366F6 #EB66F6
triadic
#A366F6 #F6A366 #66F6A3
tetradic
#A366F6 #F66671 #B9F666 #66F6EB
square
#A366F6 #F66671 #B9F666 #66F6EB
split-complementary
#A366F6 #F6EB66 #71F666
monochromatic
#610DD5 #802CF3 #A366F6 #C6A0F9 #E9DAFD

Accessibility & contrast

On white

3.63
#A366F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#A366F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366F6
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366F6#FFFFFF#000000##000000
##A366F61.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1486FB
Deuteranopia (green-blind)
#3785F3
Tritanopia (blue-blind)
#9184A4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a366f6;
/* rgb */ color: rgb(163, 102, 246);
/* oklch */ color: oklch(64.3% 0.208 300.1);
Tailwind
colors: {
  custom: {
    50: '#c394fa',
    500: '#a366f6',
    950: '#000000',
  },
}
SCSS
$custom: #a366f6;
$custom-light: #c394fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a366f6",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 246
  },
  "hsl": {
    "h": 265.417,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64349,
    "c": 0.20793,
    "h": 300.1
  },
  "luminance": 0.23943
}

Semantic roles & 50–950 ramp

primary
#A366F6
secondary
#DFF2C6
accent
#E60084
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A366F6

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

Preview Lab → · Contrast checker → · Palette generator →

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