#A266EB#A266EB

#A266EB is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.5% C 0.195 H 301.9°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#A266EB
RGBrgb(162, 102, 235)
HSLhsl(267, 77%, 66%)
HSVhsv(267, 57%, 92%)
CMYKcmyk(31.1%, 56.6%, 0%, 7.8%)
CIE-LABlab(55.26, 50.01, -58.53)
CIE-LCHlch(55.26, 76.98, 310.51°)
OKLaboklab(63.55% 0.1032 -0.1655)
OKLCHoklch(63.55% 0.195 301.9)
XYZxyz(34.6436, 23.1822, 81.2306)
Luminance0.2318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A266EB #AFEB66
analogous
#666CEB #A266EB #E566EB
triadic
#A266EB #EBA266 #66EBA2
tetradic
#A266EB #EB666C #AFEB66 #66EBE5
square
#A266EB #EB666C #AFEB66 #66EBE5
split-complementary
#A266EB #EBE566 #6CEB66
monochromatic
#6319BE #8130E4 #A266EB #C39CF2 #E4D2F9

Accessibility & contrast

On white

3.73
#A266EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#A266EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A266EB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A266EB#FFFFFF#000000##000000
##A266EB1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C83EF
Deuteranopia (green-blind)
#4484E8
Tritanopia (blue-blind)
#94819F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a266eb;
/* rgb */ color: rgb(162, 102, 235);
/* oklch */ color: oklch(63.5% 0.195 301.9);
Tailwind
colors: {
  custom: {
    50: '#c194f2',
    500: '#a266eb',
    950: '#000000',
  },
}
SCSS
$custom: #a266eb;
$custom-light: #c194f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a266eb",
  "rgb": {
    "r": 162,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 267.068,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63547,
    "c": 0.19505,
    "h": 301.9
  },
  "luminance": 0.23182
}

Semantic roles & 50–950 ramp

primary
#A266EB
secondary
#D9ECC1
accent
#D90C7D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A266EB

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

Preview Lab → · Contrast checker → · Palette generator →

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