#A266E2#A266E2

#A266E2 is a light, vivid violet. Relative luminance 0.227; OKLCH L 63.0% C 0.185 H 303.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#A266E2
RGBrgb(162, 102, 226)
HSLhsl(269, 68%, 64%)
HSVhsv(269, 55%, 89%)
CMYKcmyk(28.3%, 54.9%, 0%, 11.4%)
CIE-LABlab(54.74, 47.85, -54.32)
CIE-LCHlch(54.74, 72.39, 311.38°)
OKLaboklab(62.99% 0.103 -0.1532)
OKLCHoklch(62.99% 0.185 303.9)
XYZxyz(33.3761, 22.6752, 74.5552)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A266E2 #A6E266
analogous
#6668E2 #A266E2 #E066E2
triadic
#A266E2 #E2A266 #66E2A2
tetradic
#A266E2 #E26668 #A6E266 #66E2E0
square
#A266E2 #E26668 #A6E266 #66E2E0
split-complementary
#A266E2 #E2E066 #68E266
monochromatic
#6521AD #8333D8 #A266E2 #C199EC #E1CDF6

Accessibility & contrast

On white

3.79
#A266E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#A266E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A266E2
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A266E2#FFFFFF#000000##000000
##A266E21.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3881E6
Deuteranopia (green-blind)
#4D83DF
Tritanopia (blue-blind)
#977E9A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a266e2;
/* rgb */ color: rgb(162, 102, 226);
/* oklch */ color: oklch(63.0% 0.185 303.9);
Tailwind
colors: {
  custom: {
    50: '#c194ec',
    500: '#a266e2',
    950: '#000000',
  },
}
SCSS
$custom: #a266e2;
$custom-light: #c194ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a266e2",
  "rgb": {
    "r": 162,
    "g": 102,
    "b": 226
  },
  "hsl": {
    "h": 269.032,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62994,
    "c": 0.18457,
    "h": 303.9
  },
  "luminance": 0.22675
}

Semantic roles & 50–950 ramp

primary
#A266E2
secondary
#D3E7BC
accent
#D01576
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A266E2

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

Preview Lab → · Contrast checker → · Palette generator →

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