#A266DD#A266DD

#A266DD is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.7% C 0.179 H 305.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#A266DD
RGBrgb(162, 102, 221)
HSLhsl(270, 64%, 63%)
HSVhsv(270, 54%, 87%)
CMYKcmyk(26.7%, 53.8%, 0%, 13.3%)
CIE-LABlab(54.45, 46.67, -51.96)
CIE-LCHlch(54.45, 69.84, 311.93°)
OKLaboklab(62.7% 0.1028 -0.1462)
OKLCHoklch(62.7% 0.179 305.1)
XYZxyz(32.7000, 22.4048, 70.9945)
Luminance0.2240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A266DD #A1DD66
analogous
#6666DD #A266DD #DD66DC
triadic
#A266DD #DDA266 #66DDA2
tetradic
#A266DD #DD6666 #A1DD66 #66DCDD
square
#A266DD #DD6666 #A1DD66 #66DCDD
split-complementary
#A266DD #DCDD66 #66DD66
monochromatic
#6524A4 #8434D2 #A266DD #C098E8 #DFCAF3

Accessibility & contrast

On white

3.83
#A266DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#A266DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A266DD
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A266DD#FFFFFF#000000##000000
##A266DD1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D80E1
Deuteranopia (green-blind)
#5182DA
Tritanopia (blue-blind)
#987C98
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a266dd;
/* rgb */ color: rgb(162, 102, 221);
/* oklch */ color: oklch(62.7% 0.179 305.1);
Tailwind
colors: {
  custom: {
    50: '#c194e8',
    500: '#a266dd',
    950: '#000000',
  },
}
SCSS
$custom: #a266dd;
$custom-light: #c194e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a266dd",
  "rgb": {
    "r": 162,
    "g": 102,
    "b": 221
  },
  "hsl": {
    "h": 270.252,
    "s": 63.636,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62695,
    "c": 0.17874,
    "h": 305.1
  },
  "luminance": 0.22405
}

Semantic roles & 50–950 ramp

primary
#A266DD
secondary
#CFE5BA
accent
#CB1A72
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A266DD

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

Preview Lab → · Contrast checker → · Palette generator →

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