#A266EF#A266EF

#A266EF is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.8% C 0.200 H 301.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#A266EF
RGBrgb(162, 102, 239)
HSLhsl(266, 81%, 67%)
HSVhsv(266, 57%, 94%)
CMYKcmyk(32.2%, 57.3%, 0%, 6.3%)
CIE-LABlab(55.50, 50.98, -60.38)
CIE-LCHlch(55.50, 79.02, 310.17°)
OKLaboklab(63.8% 0.1032 -0.1709)
OKLCHoklch(63.8% 0.2 301.1)
XYZxyz(35.2280, 23.4160, 84.3084)
Luminance0.2342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A266EF #B3EF66
analogous
#666FEF #A266EF #E666EF
triadic
#A266EF #EFA266 #66EFA2
tetradic
#A266EF #EF666F #B3EF66 #66EFE6
square
#A266EF #EF666F #B3EF66 #66EFE6
split-complementary
#A266EF #EFE666 #6FEF66
monochromatic
#6215C6 #802FE9 #A266EF #C49DF5 #E5D5FB

Accessibility & contrast

On white

3.70
#A266EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#A266EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A266EF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A266EF#FFFFFF#000000##000000
##A266EF1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2484F3
Deuteranopia (green-blind)
#3F84EC
Tritanopia (blue-blind)
#9282A1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a266ef;
/* rgb */ color: rgb(162, 102, 239);
/* oklch */ color: oklch(63.8% 0.200 301.1);
Tailwind
colors: {
  custom: {
    50: '#c294f5',
    500: '#a266ef',
    950: '#000000',
  },
}
SCSS
$custom: #a266ef;
$custom-light: #c294f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a266ef",
  "rgb": {
    "r": 162,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 266.277,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63799,
    "c": 0.19969,
    "h": 301.1
  },
  "luminance": 0.23416
}

Semantic roles & 50–950 ramp

primary
#A266EF
secondary
#DBEEC2
accent
#DD0880
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #A266EF

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

Preview Lab → · Contrast checker → · Palette generator →

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