#A266E5#A266E5

#A266E5 is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.2% C 0.188 H 303.2°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A266E5
RGBrgb(162, 102, 229)
HSLhsl(268, 71%, 65%)
HSVhsv(268, 55%, 90%)
CMYKcmyk(29.3%, 55.5%, 0%, 10.2%)
CIE-LABlab(54.91, 48.57, -55.73)
CIE-LCHlch(54.91, 73.92, 311.07°)
OKLaboklab(63.18% 0.1031 -0.1573)
OKLCHoklch(63.18% 0.188 303.2)
XYZxyz(33.7913, 22.8413, 76.7421)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A266E5 #A9E566
analogous
#666AE5 #A266E5 #E166E5
triadic
#A266E5 #E5A266 #66E5A2
tetradic
#A266E5 #E5666A #A9E566 #66E5E1
square
#A266E5 #E5666A #A9E566 #66E5E1
split-complementary
#A266E5 #E5E166 #6AE566
monochromatic
#641EB2 #8232DC #A266E5 #C29AEE #E2CFF7

Accessibility & contrast

On white

3.77
#A266E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#A266E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A266E5
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A266E5#FFFFFF#000000##000000
##A266E51.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3482E9
Deuteranopia (green-blind)
#4A83E2
Tritanopia (blue-blind)
#967F9C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a266e5;
/* rgb */ color: rgb(162, 102, 229);
/* oklch */ color: oklch(63.2% 0.188 303.2);
Tailwind
colors: {
  custom: {
    50: '#c194ee',
    500: '#a266e5',
    950: '#000000',
  },
}
SCSS
$custom: #a266e5;
$custom-light: #c194ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a266e5",
  "rgb": {
    "r": 162,
    "g": 102,
    "b": 229
  },
  "hsl": {
    "h": 268.346,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63176,
    "c": 0.18807,
    "h": 303.2
  },
  "luminance": 0.22841
}

Semantic roles & 50–950 ramp

primary
#A266E5
secondary
#D5E9BE
accent
#D31378
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A266E5

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

Preview Lab → · Contrast checker → · Palette generator →

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