#A266F6#A266F6

#A266F6 is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.2% C 0.208 H 299.8°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#A266F6
RGBrgb(162, 102, 246)
HSLhsl(265, 89%, 68%)
HSVhsv(265, 59%, 96%)
CMYKcmyk(34.1%, 58.5%, 0%, 3.5%)
CIE-LABlab(55.92, 52.69, -63.59)
CIE-LCHlch(55.92, 82.58, 309.64°)
OKLaboklab(64.25% 0.1031 -0.1804)
OKLCHoklch(64.25% 0.208 299.8)
XYZxyz(36.2822, 23.8376, 89.8605)
Luminance0.2384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A266F6 #BAF666
analogous
#6672F6 #A266F6 #EA66F6
triadic
#A266F6 #F6A266 #66F6A2
tetradic
#A266F6 #F66672 #BAF666 #66F6EA
square
#A266F6 #F66672 #BAF666 #66F6EA
split-complementary
#A266F6 #F6EA66 #72F666
monochromatic
#600DD5 #7F2CF3 #A266F6 #C5A0F9 #E8DAFD

Accessibility & contrast

On white

3.64
#A266F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#A266F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A266F6
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A266F6#FFFFFF#000000##000000
##A266F61.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1286FB
Deuteranopia (green-blind)
#3685F3
Tritanopia (blue-blind)
#9084A4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a266f6;
/* rgb */ color: rgb(162, 102, 246);
/* oklch */ color: oklch(64.2% 0.208 299.8);
Tailwind
colors: {
  custom: {
    50: '#c294fa',
    500: '#a266f6',
    950: '#000000',
  },
}
SCSS
$custom: #a266f6;
$custom-light: #c294fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a266f6",
  "rgb": {
    "r": 162,
    "g": 102,
    "b": 246
  },
  "hsl": {
    "h": 265,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64247,
    "c": 0.20778,
    "h": 299.8
  },
  "luminance": 0.23838
}

Semantic roles & 50–950 ramp

primary
#A266F6
secondary
#E0F2C6
accent
#E60086
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A266F6

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

Preview Lab → · Contrast checker → · Palette generator →

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