#A266DC#A266DC

#A266DC is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.6% C 0.178 H 305.3°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#A266DC
RGBrgb(162, 102, 220)
HSLhsl(271, 63%, 63%)
HSVhsv(271, 54%, 86%)
CMYKcmyk(26.4%, 53.6%, 0%, 13.7%)
CIE-LABlab(54.40, 46.44, -51.48)
CIE-LCHlch(54.40, 69.33, 312.05°)
OKLaboklab(62.64% 0.1027 -0.1449)
OKLCHoklch(62.64% 0.178 305.3)
XYZxyz(32.5672, 22.3516, 70.2949)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A266DC #A0DC66
analogous
#6766DC #A266DC #DC66DB
triadic
#A266DC #DCA266 #66DCA2
tetradic
#A266DC #DC6766 #A0DC66 #66DBDC
square
#A266DC #DC6766 #A0DC66 #66DBDC
split-complementary
#A266DC #DBDC66 #66DC67
monochromatic
#6525A2 #8434D1 #A266DC #C098E7 #DFCAF3

Accessibility & contrast

On white

3.84
#A266DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#A266DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A266DC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A266DC#FFFFFF#000000##000000
##A266DC1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E80E0
Deuteranopia (green-blind)
#5282D9
Tritanopia (blue-blind)
#987C97
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a266dc;
/* rgb */ color: rgb(162, 102, 220);
/* oklch */ color: oklch(62.6% 0.178 305.3);
Tailwind
colors: {
  custom: {
    50: '#c094e7',
    500: '#a266dc',
    950: '#000000',
  },
}
SCSS
$custom: #a266dc;
$custom-light: #c094e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a266dc",
  "rgb": {
    "r": 162,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 270.508,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62636,
    "c": 0.17757,
    "h": 305.3
  },
  "luminance": 0.22351
}

Semantic roles & 50–950 ramp

primary
#A266DC
secondary
#CFE4BA
accent
#CB1B71
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A266DC

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

Preview Lab → · Contrast checker → · Palette generator →

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