#A266DA#A266DA

#A266DA is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.5% C 0.175 H 305.8°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#A266DA
RGBrgb(162, 102, 218)
HSLhsl(271, 61%, 63%)
HSVhsv(271, 53%, 85%)
CMYKcmyk(25.7%, 53.2%, 0%, 14.5%)
CIE-LABlab(54.29, 45.97, -50.53)
CIE-LCHlch(54.29, 68.31, 312.30°)
OKLaboklab(62.52% 0.1026 -0.1421)
OKLCHoklch(62.52% 0.175 305.8)
XYZxyz(32.3039, 22.2463, 68.9082)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A266DA #9EDA66
analogous
#6866DA #A266DA #DA66D8
triadic
#A266DA #DAA266 #66DAA2
tetradic
#A266DA #DA6866 #9EDA66 #66D8DA
square
#A266DA #DA6866 #9EDA66 #66D8DA
split-complementary
#A266DA #D8DA66 #66DA68
monochromatic
#65269F #8435CE #A266DA #C097E6 #DEC9F2

Accessibility & contrast

On white

3.85
#A266DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#A266DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A266DA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A266DA#FFFFFF#000000##000000
##A266DA1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4080DE
Deuteranopia (green-blind)
#5382D7
Tritanopia (blue-blind)
#997B96
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a266da;
/* rgb */ color: rgb(162, 102, 218);
/* oklch */ color: oklch(62.5% 0.175 305.8);
Tailwind
colors: {
  custom: {
    50: '#c093e6',
    500: '#a266da',
    950: '#000000',
  },
}
SCSS
$custom: #a266da;
$custom-light: #c093e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a266da",
  "rgb": {
    "r": 162,
    "g": 102,
    "b": 218
  },
  "hsl": {
    "h": 271.034,
    "s": 61.053,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62518,
    "c": 0.17523,
    "h": 305.8
  },
  "luminance": 0.22246
}

Semantic roles & 50–950 ramp

primary
#A266DA
secondary
#CDE3B9
accent
#C91D70
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A266DA

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

Preview Lab → · Contrast checker → · Palette generator →

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