#A266E9#A266E9

#A266E9 is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.4% C 0.193 H 302.4°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#A266E9
RGBrgb(162, 102, 233)
HSLhsl(267, 75%, 66%)
HSVhsv(267, 56%, 91%)
CMYKcmyk(30.5%, 56.2%, 0%, 8.6%)
CIE-LABlab(55.14, 49.53, -57.60)
CIE-LCHlch(55.14, 75.96, 310.69°)
OKLaboklab(63.42% 0.1032 -0.1628)
OKLCHoklch(63.42% 0.193 302.4)
XYZxyz(34.3563, 23.0673, 79.7174)
Luminance0.2307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A266E9 #ADE966
analogous
#666BE9 #A266E9 #E366E9
triadic
#A266E9 #E9A266 #66E9A2
tetradic
#A266E9 #E9666B #ADE966 #66E9E3
square
#A266E9 #E9666B #ADE966 #66E9E3
split-complementary
#A266E9 #E9E366 #6BE966
monochromatic
#641BBA #8130E1 #A266E9 #C39CF1 #E3D1F8

Accessibility & contrast

On white

3.74
#A266E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#A266E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A266E9
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A266E9#FFFFFF#000000##000000
##A266E91.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F83ED
Deuteranopia (green-blind)
#4684E6
Tritanopia (blue-blind)
#94809E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a266e9;
/* rgb */ color: rgb(162, 102, 233);
/* oklch */ color: oklch(63.4% 0.193 302.4);
Tailwind
colors: {
  custom: {
    50: '#c194f1',
    500: '#a266e9',
    950: '#000000',
  },
}
SCSS
$custom: #a266e9;
$custom-light: #c194f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a266e9",
  "rgb": {
    "r": 162,
    "g": 102,
    "b": 233
  },
  "hsl": {
    "h": 267.481,
    "s": 74.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63423,
    "c": 0.19272,
    "h": 302.4
  },
  "luminance": 0.23067
}

Semantic roles & 50–950 ramp

primary
#A266E9
secondary
#D7EBC0
accent
#D70E7B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A266E9

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

Preview Lab → · Contrast checker → · Palette generator →

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