#A366F2#A366F2

#A366F2 is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.1% C 0.203 H 300.9°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#A366F2
RGBrgb(163, 102, 242)
HSLhsl(266, 84%, 67%)
HSVhsv(266, 58%, 95%)
CMYKcmyk(32.6%, 57.9%, 0%, 5.1%)
CIE-LABlab(55.79, 51.93, -61.59)
CIE-LCHlch(55.79, 80.56, 310.14°)
OKLaboklab(64.09% 0.1044 -0.1744)
OKLCHoklch(64.09% 0.203 300.9)
XYZxyz(35.8788, 23.6999, 86.6715)
Luminance0.2370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366F2 #B5F266
analogous
#666FF2 #A366F2 #E966F2
triadic
#A366F2 #F2A366 #66F2A3
tetradic
#A366F2 #F2666F #B5F266 #66F2E9
square
#A366F2 #F2666F #B5F266 #66F2E9
split-complementary
#A366F2 #F2E966 #6FF266
monochromatic
#6311CC #812EED #A366F2 #C59EF7 #E7D7FC

Accessibility & contrast

On white

3.66
#A366F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#A366F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366F2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366F2#FFFFFF#000000##000000
##A366F21.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F85F7
Deuteranopia (green-blind)
#3D85EF
Tritanopia (blue-blind)
#9383A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a366f2;
/* rgb */ color: rgb(163, 102, 242);
/* oklch */ color: oklch(64.1% 0.203 300.9);
Tailwind
colors: {
  custom: {
    50: '#c394f7',
    500: '#a366f2',
    950: '#000000',
  },
}
SCSS
$custom: #a366f2;
$custom-light: #c394f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a366f2",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 266.143,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.64092,
    "c": 0.20332,
    "h": 300.9
  },
  "luminance": 0.237
}

Semantic roles & 50–950 ramp

primary
#A366F2
secondary
#DDF0C4
accent
#E10581
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A366F2

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

Preview Lab → · Contrast checker → · Palette generator →

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