#A266EC#A266EC

#A266EC is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.6% C 0.196 H 301.7°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#A266EC
RGBrgb(162, 102, 236)
HSLhsl(267, 78%, 66%)
HSVhsv(267, 57%, 93%)
CMYKcmyk(31.4%, 56.8%, 0%, 7.5%)
CIE-LABlab(55.32, 50.25, -58.99)
CIE-LCHlch(55.32, 77.49, 310.42°)
OKLaboklab(63.61% 0.1032 -0.1669)
OKLCHoklch(63.61% 0.196 301.7)
XYZxyz(34.7885, 23.2402, 81.9936)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A266EC #B0EC66
analogous
#666DEC #A266EC #E566EC
triadic
#A266EC #ECA266 #66ECA2
tetradic
#A266EC #EC666D #B0EC66 #66ECE5
square
#A266EC #EC666D #B0EC66 #66ECE5
split-complementary
#A266EC #ECE566 #6DEC66
monochromatic
#6318C0 #8130E5 #A266EC #C39CF3 #E4D3FA

Accessibility & contrast

On white

3.72
#A266EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#A266EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A266EC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A266EC#FFFFFF#000000##000000
##A266EC1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A84F0
Deuteranopia (green-blind)
#4384E9
Tritanopia (blue-blind)
#93819F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a266ec;
/* rgb */ color: rgb(162, 102, 236);
/* oklch */ color: oklch(63.6% 0.196 301.7);
Tailwind
colors: {
  custom: {
    50: '#c194f3',
    500: '#a266ec',
    950: '#000000',
  },
}
SCSS
$custom: #a266ec;
$custom-light: #c194f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a266ec",
  "rgb": {
    "r": 162,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 266.866,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6361,
    "c": 0.19621,
    "h": 301.7
  },
  "luminance": 0.2324
}

Semantic roles & 50–950 ramp

primary
#A266EC
secondary
#D9EDC1
accent
#DA0B7E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A266EC

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

Preview Lab → · Contrast checker → · Palette generator →

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