#A266DF#A266DF

#A266DF is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.8% C 0.181 H 304.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#A266DF
RGBrgb(162, 102, 223)
HSLhsl(270, 65%, 64%)
HSVhsv(270, 54%, 87%)
CMYKcmyk(27.4%, 54.3%, 0%, 12.5%)
CIE-LABlab(54.57, 47.14, -52.90)
CIE-LCHlch(54.57, 70.86, 311.71°)
OKLaboklab(62.81% 0.1029 -0.149)
OKLCHoklch(62.81% 0.181 304.6)
XYZxyz(32.9681, 22.5120, 72.4062)
Luminance0.2251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A266DF #A3DF66
analogous
#6666DF #A266DF #DE66DF
triadic
#A266DF #DFA266 #66DFA2
tetradic
#A266DF #DF6666 #A3DF66 #66DFDE
square
#A266DF #DF6666 #A3DF66 #66DFDE
split-complementary
#A266DF #DFDE66 #66DF66
monochromatic
#6523A8 #8333D4 #A266DF #C199EA #E0CBF4

Accessibility & contrast

On white

3.82
#A266DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#A266DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A266DF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A266DF#FFFFFF#000000##000000
##A266DF1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B81E3
Deuteranopia (green-blind)
#4F83DC
Tritanopia (blue-blind)
#977D99
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a266df;
/* rgb */ color: rgb(162, 102, 223);
/* oklch */ color: oklch(62.8% 0.181 304.6);
Tailwind
colors: {
  custom: {
    50: '#c194e9',
    500: '#a266df',
    950: '#000000',
  },
}
SCSS
$custom: #a266df;
$custom-light: #c194e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a266df",
  "rgb": {
    "r": 162,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 269.752,
    "s": 65.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62814,
    "c": 0.18107,
    "h": 304.6
  },
  "luminance": 0.22512
}

Semantic roles & 50–950 ramp

primary
#A266DF
secondary
#D1E6BB
accent
#CD1873
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A266DF

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

Preview Lab → · Contrast checker → · Palette generator →

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