#A266CA#A266CA

#A266CA is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.6% C 0.157 H 310.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A266CA
RGBrgb(162, 102, 202)
HSLhsl(276, 49%, 60%)
HSVhsv(276, 50%, 79%)
CMYKcmyk(19.8%, 49.5%, 0%, 20.8%)
CIE-LABlab(53.44, 42.30, -42.79)
CIE-LCHlch(53.44, 60.17, 314.67°)
OKLaboklab(61.61% 0.1012 -0.1195)
OKLCHoklch(61.61% 0.157 310.3)
XYZxyz(30.3104, 21.4489, 58.4090)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A266CA #8ECA66
analogous
#7066CA #A266CA #CA66C0
triadic
#A266CA #CAA266 #66CAA2
tetradic
#A266CA #CA7066 #8ECA66 #66C0CA
square
#A266CA #CA7066 #8ECA66 #66C0CA
split-complementary
#A266CA #C0CA66 #66CA70
monochromatic
#642F87 #853EB4 #A266CA #BE93DA #D9C1E9

Accessibility & contrast

On white

3.97
#A266CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#A266CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A266CA
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A266CA#FFFFFF#000000##000000
##A266CA1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCD
Deuteranopia (green-blind)
#5E81C7
Tritanopia (blue-blind)
#9D768F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a266ca;
/* rgb */ color: rgb(162, 102, 202);
/* oklch */ color: oklch(61.6% 0.157 310.3);
Tailwind
colors: {
  custom: {
    50: '#c093da',
    500: '#a266ca',
    950: '#000000',
  },
}
SCSS
$custom: #a266ca;
$custom-light: #c093da;
$custom-dark: #000000;
JSON
{
  "hex": "#a266ca",
  "rgb": {
    "r": 162,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 276,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61613,
    "c": 0.15659,
    "h": 310.3
  },
  "luminance": 0.21448
}

Semantic roles & 50–950 ramp

primary
#A266CA
secondary
#C2D9B2
accent
#D85086
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A266CA

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

Preview Lab → · Contrast checker → · Palette generator →

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