#A26AFF#A26AFF

#A26AFF is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.4% C 0.213 H 297.5°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A26AFF
RGBrgb(162, 106, 255)
HSLhsl(263, 100%, 71%)
HSVhsv(263, 58%, 100%)
CMYKcmyk(36.5%, 58.4%, 0%, 0%)
CIE-LABlab(57.28, 52.81, -66.40)
CIE-LCHlch(57.28, 84.84, 308.50°)
OKLaboklab(65.42% 0.0983 -0.1886)
OKLCHoklch(65.42% 0.213 297.5)
XYZxyz(38.0998, 25.2089, 97.4469)
Luminance0.2521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26AFF #C7FF6A
analogous
#6A7CFF #A26AFF #EC6AFF
triadic
#A26AFF #FFA26A #6AFFA2
tetradic
#A26AFF #FF6A7C #C7FF6A #6AFFEC
square
#A26AFF #FF6A7C #C7FF6A #6AFFEC
split-complementary
#A26AFF #FFEC6A #7CFF6A
monochromatic
#5A00EF #7C2DFF #A26AFF #C8A7FF #ECE0FF

Accessibility & contrast

On white

3.48
#A26AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#A26AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26AFF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26AFF#FFFFFF#000000##000000
##A26AFF1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#068AFF
Deuteranopia (green-blind)
#2F88FC
Tritanopia (blue-blind)
#8C8AAB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a26aff;
/* rgb */ color: rgb(162, 106, 255);
/* oklch */ color: oklch(65.4% 0.213 297.5);
Tailwind
colors: {
  custom: {
    50: '#c397ff',
    500: '#a26aff',
    950: '#000000',
  },
}
SCSS
$custom: #a26aff;
$custom-light: #c397ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a26aff",
  "rgb": {
    "r": 162,
    "g": 106,
    "b": 255
  },
  "hsl": {
    "h": 262.55,
    "s": 100,
    "l": 70.784
  },
  "oklch": {
    "l": 0.65415,
    "c": 0.2127,
    "h": 297.5
  },
  "luminance": 0.25209
}

Semantic roles & 50–950 ramp

primary
#A26AFF
secondary
#E7F6CE
accent
#E6008F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A26AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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