#A266E4#A266E4

#A266E4 is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.1% C 0.187 H 303.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#A266E4
RGBrgb(162, 102, 228)
HSLhsl(269, 70%, 65%)
HSVhsv(269, 55%, 89%)
CMYKcmyk(28.9%, 55.3%, 0%, 10.6%)
CIE-LABlab(54.85, 48.33, -55.26)
CIE-LCHlch(54.85, 73.41, 311.17°)
OKLaboklab(63.12% 0.103 -0.1559)
OKLCHoklch(63.12% 0.187 303.5)
XYZxyz(33.6521, 22.7856, 76.0089)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A266E4 #A8E466
analogous
#6669E4 #A266E4 #E166E4
triadic
#A266E4 #E4A266 #66E4A2
tetradic
#A266E4 #E46669 #A8E466 #66E4E1
square
#A266E4 #E46669 #A8E466 #66E4E1
split-complementary
#A266E4 #E4E166 #69E466
monochromatic
#641FB0 #8232DB #A266E4 #C29AED #E1CEF6

Accessibility & contrast

On white

3.78
#A266E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#A266E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A266E4
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A266E4#FFFFFF#000000##000000
##A266E41.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3582E8
Deuteranopia (green-blind)
#4B83E1
Tritanopia (blue-blind)
#967E9B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a266e4;
/* rgb */ color: rgb(162, 102, 228);
/* oklch */ color: oklch(63.1% 0.187 303.5);
Tailwind
colors: {
  custom: {
    50: '#c194ed',
    500: '#a266e4',
    950: '#000000',
  },
}
SCSS
$custom: #a266e4;
$custom-light: #c194ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a266e4",
  "rgb": {
    "r": 162,
    "g": 102,
    "b": 228
  },
  "hsl": {
    "h": 268.571,
    "s": 70,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63115,
    "c": 0.1869,
    "h": 303.5
  },
  "luminance": 0.22786
}

Semantic roles & 50–950 ramp

primary
#A266E4
secondary
#D4E9BD
accent
#D21477
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A266E4

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

Preview Lab → · Contrast checker → · Palette generator →

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