#A266E6#A266E6

#A266E6 is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.2% C 0.189 H 303.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#A266E6
RGBrgb(162, 102, 230)
HSLhsl(268, 72%, 65%)
HSVhsv(268, 56%, 90%)
CMYKcmyk(29.6%, 55.7%, 0%, 9.8%)
CIE-LABlab(54.97, 48.81, -56.20)
CIE-LCHlch(54.97, 74.43, 310.97°)
OKLaboklab(63.24% 0.1031 -0.1587)
OKLCHoklch(63.24% 0.189 303)
XYZxyz(33.9314, 22.8973, 77.4796)
Luminance0.2290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A266E6 #AAE666
analogous
#666AE6 #A266E6 #E266E6
triadic
#A266E6 #E6A266 #66E6A2
tetradic
#A266E6 #E6666A #AAE666 #66E6E2
square
#A266E6 #E6666A #AAE666 #66E6E2
split-complementary
#A266E6 #E6E266 #6AE666
monochromatic
#641DB4 #8231DD #A266E6 #C29BEF #E2CFF7

Accessibility & contrast

On white

3.76
#A266E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#A266E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A266E6
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A266E6#FFFFFF#000000##000000
##A266E61.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3382EA
Deuteranopia (green-blind)
#4983E3
Tritanopia (blue-blind)
#957F9C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a266e6;
/* rgb */ color: rgb(162, 102, 230);
/* oklch */ color: oklch(63.2% 0.189 303.0);
Tailwind
colors: {
  custom: {
    50: '#c194ee',
    500: '#a266e6',
    950: '#000000',
  },
}
SCSS
$custom: #a266e6;
$custom-light: #c194ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a266e6",
  "rgb": {
    "r": 162,
    "g": 102,
    "b": 230
  },
  "hsl": {
    "h": 268.125,
    "s": 71.91,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63238,
    "c": 0.18923,
    "h": 303
  },
  "luminance": 0.22897
}

Semantic roles & 50–950 ramp

primary
#A266E6
secondary
#D5EABE
accent
#D41279
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A266E6

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

Preview Lab → · Contrast checker → · Palette generator →

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