#A266CE#A266CE

#A266CE is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.8% C 0.161 H 309.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#A266CE
RGBrgb(162, 102, 206)
HSLhsl(275, 51%, 60%)
HSVhsv(275, 50%, 81%)
CMYKcmyk(21.4%, 50.5%, 0%, 19.2%)
CIE-LABlab(53.64, 43.21, -44.74)
CIE-LCHlch(53.64, 62.20, 314.00°)
OKLaboklab(61.83% 0.1016 -0.1252)
OKLCHoklch(61.83% 0.161 309.1)
XYZxyz(30.7901, 21.6408, 60.9356)
Luminance0.2164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A266CE #92CE66
analogous
#6E66CE #A266CE #CE66C6
triadic
#A266CE #CEA266 #66CEA2
tetradic
#A266CE #CE6E66 #92CE66 #66C6CE
square
#A266CE #CE6E66 #92CE66 #66C6CE
split-complementary
#A266CE #C6CE66 #66CE6E
monochromatic
#642D8D #853CBB #A266CE #BE94DD #DAC3EC

Accessibility & contrast

On white

3.94
#A266CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#A266CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A266CE
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A266CE#FFFFFF#000000##000000
##A266CE1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ED2
Deuteranopia (green-blind)
#5C81CB
Tritanopia (blue-blind)
#9C7891
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a266ce;
/* rgb */ color: rgb(162, 102, 206);
/* oklch */ color: oklch(61.8% 0.161 309.1);
Tailwind
colors: {
  custom: {
    50: '#c093dd',
    500: '#a266ce',
    950: '#000000',
  },
}
SCSS
$custom: #a266ce;
$custom-light: #c093dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a266ce",
  "rgb": {
    "r": 162,
    "g": 102,
    "b": 206
  },
  "hsl": {
    "h": 274.615,
    "s": 51.485,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61834,
    "c": 0.16123,
    "h": 309.1
  },
  "luminance": 0.2164
}

Semantic roles & 50–950 ramp

primary
#A266CE
secondary
#C5DCB4
accent
#BF2767
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A266CE

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

Preview Lab → · Contrast checker → · Palette generator →

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