#A266CD#A266CD

#A266CD is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.8% C 0.160 H 309.4°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#A266CD
RGBrgb(162, 102, 205)
HSLhsl(275, 51%, 60%)
HSVhsv(275, 50%, 80%)
CMYKcmyk(21%, 50.2%, 0%, 19.6%)
CIE-LABlab(53.59, 42.98, -44.25)
CIE-LCHlch(53.59, 61.69, 314.16°)
OKLaboklab(61.78% 0.1015 -0.1238)
OKLCHoklch(61.78% 0.16 309.4)
XYZxyz(30.6690, 21.5924, 60.2979)
Luminance0.2159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A266CD #91CD66
analogous
#6E66CD #A266CD #CD66C5
triadic
#A266CD #CDA266 #66CDA2
tetradic
#A266CD #CD6E66 #91CD66 #66C5CD
square
#A266CD #CD6E66 #91CD66 #66C5CD
split-complementary
#A266CD #C5CD66 #66CD6E
monochromatic
#642D8B #853DB9 #A266CD #BE94DC #DAC2EB

Accessibility & contrast

On white

3.95
#A266CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#A266CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A266CD
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A266CD#FFFFFF#000000##000000
##A266CD1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7DD1
Deuteranopia (green-blind)
#5C81CA
Tritanopia (blue-blind)
#9C7790
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a266cd;
/* rgb */ color: rgb(162, 102, 205);
/* oklch */ color: oklch(61.8% 0.160 309.4);
Tailwind
colors: {
  custom: {
    50: '#c093dd',
    500: '#a266cd',
    950: '#000000',
  },
}
SCSS
$custom: #a266cd;
$custom-light: #c093dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a266cd",
  "rgb": {
    "r": 162,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 274.951,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61778,
    "c": 0.16007,
    "h": 309.4
  },
  "luminance": 0.21592
}

Semantic roles & 50–950 ramp

primary
#A266CD
secondary
#C4DBB4
accent
#BE2766
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A266CD

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

Preview Lab → · Contrast checker → · Palette generator →

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