#A266FF#A266FF

#A266FF is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 64.8% C 0.218 H 298.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#A266FF
RGBrgb(162, 102, 255)
HSLhsl(264, 100%, 70%)
HSVhsv(264, 60%, 100%)
CMYKcmyk(36.5%, 60%, 0%, 0%)
CIE-LABlab(56.49, 54.91, -67.67)
CIE-LCHlch(56.49, 87.14, 309.06°)
OKLaboklab(64.84% 0.1028 -0.1923)
OKLCHoklch(64.84% 0.218 298.1)
XYZxyz(37.6971, 24.4036, 97.3126)
Luminance0.2440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A266FF #C3FF66
analogous
#6677FF #A266FF #EE66FF
triadic
#A266FF #FFA266 #66FFA2
tetradic
#A266FF #FF6677 #C3FF66 #66FFEE
square
#A266FF #FF6677 #C3FF66 #66FFEE
split-complementary
#A266FF #FFEE66 #77FF66
monochromatic
#5C00EB #7D29FF #A266FF #C7A3FF #ECE0FF

Accessibility & contrast

On white

3.57
#A266FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#A266FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A266FF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A266FF#FFFFFF#000000##000000
##A266FF1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#2686FC
Tritanopia (blue-blind)
#8D87A9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a266ff;
/* rgb */ color: rgb(162, 102, 255);
/* oklch */ color: oklch(64.8% 0.218 298.1);
Tailwind
colors: {
  custom: {
    50: '#c394ff',
    500: '#a266ff',
    950: '#000000',
  },
}
SCSS
$custom: #a266ff;
$custom-light: #c394ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a266ff",
  "rgb": {
    "r": 162,
    "g": 102,
    "b": 255
  },
  "hsl": {
    "h": 263.529,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.6484,
    "c": 0.21811,
    "h": 298.1
  },
  "luminance": 0.24404
}

Semantic roles & 50–950 ramp

primary
#A266FF
secondary
#E5F6CB
accent
#E6008C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A266FF

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

Preview Lab → · Contrast checker → · Palette generator →

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