#A266D2#A266D2

#A266D2 is a light, vivid violet. Relative luminance 0.218; OKLCH L 62.1% C 0.166 H 307.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#A266D2
RGBrgb(162, 102, 210)
HSLhsl(273, 55%, 61%)
HSVhsv(273, 51%, 82%)
CMYKcmyk(22.9%, 51.4%, 0%, 17.6%)
CIE-LABlab(53.85, 44.12, -46.68)
CIE-LCHlch(53.85, 64.23, 313.38°)
OKLaboklab(62.06% 0.102 -0.1308)
OKLCHoklch(62.06% 0.166 307.9)
XYZxyz(31.2822, 21.8377, 63.5274)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A266D2 #96D266
analogous
#6C66D2 #A266D2 #D266CC
triadic
#A266D2 #D2A266 #66D2A2
tetradic
#A266D2 #D26C66 #96D266 #66CCD2
square
#A266D2 #D26C66 #96D266 #66CCD2
split-complementary
#A266D2 #CCD266 #66D26C
monochromatic
#652B93 #8539C2 #A266D2 #BF95E0 #DBC5EE

Accessibility & contrast

On white

3.91
#A266D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#A266D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A266D2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A266D2#FFFFFF#000000##000000
##A266D21.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#477ED6
Deuteranopia (green-blind)
#5981CF
Tritanopia (blue-blind)
#9B7992
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a266d2;
/* rgb */ color: rgb(162, 102, 210);
/* oklch */ color: oklch(62.1% 0.166 307.9);
Tailwind
colors: {
  custom: {
    50: '#c093e0',
    500: '#a266d2',
    950: '#000000',
  },
}
SCSS
$custom: #a266d2;
$custom-light: #c093e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a266d2",
  "rgb": {
    "r": 162,
    "g": 102,
    "b": 210
  },
  "hsl": {
    "h": 273.333,
    "s": 54.545,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62058,
    "c": 0.16589,
    "h": 307.9
  },
  "luminance": 0.21837
}

Semantic roles & 50–950 ramp

primary
#A266D2
secondary
#C8DEB6
accent
#C2236A
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A266D2

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

Preview Lab → · Contrast checker → · Palette generator →

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