#A26AF2#A26AF2

#A26AF2 is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.6% C 0.197 H 299.9°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#A26AF2
RGBrgb(162, 106, 242)
HSLhsl(265, 84%, 68%)
HSVhsv(265, 56%, 95%)
CMYKcmyk(33.1%, 56.2%, 0%, 5.1%)
CIE-LABlab(56.49, 49.58, -60.47)
CIE-LCHlch(56.49, 78.20, 309.35°)
OKLaboklab(64.58% 0.0984 -0.1712)
OKLCHoklch(64.58% 0.197 299.9)
XYZxyz(36.0775, 24.4000, 86.7961)
Luminance0.2440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26AF2 #BAF26A
analogous
#6A76F2 #A26AF2 #E66AF2
triadic
#A26AF2 #F2A26A #6AF2A2
tetradic
#A26AF2 #F26A76 #BAF26A #6AF2E6
square
#A26AF2 #F26A76 #BAF26A #6AF2E6
split-complementary
#A26AF2 #F2E66A #76F26A
monochromatic
#6012CF #7F32ED #A26AF2 #C5A2F7 #E8DBFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A26AF2#FFFFFF#000000##000000
##A26AF21.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)
#2C87F6
Deuteranopia (green-blind)
#4286EF
Tritanopia (blue-blind)
#9186A4
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a26af2;
/* rgb */ color: rgb(162, 106, 242);
/* oklch */ color: oklch(64.6% 0.197 299.9);
Tailwind
colors: {
  custom: {
    50: '#c296f7',
    500: '#a26af2',
    950: '#000000',
  },
}
SCSS
$custom: #a26af2;
$custom-light: #c296f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a26af2",
  "rgb": {
    "r": 162,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 264.706,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64581,
    "c": 0.19747,
    "h": 299.9
  },
  "luminance": 0.244
}

Semantic roles & 50–950 ramp

primary
#A26AF2
secondary
#E0F1C7
accent
#E00586
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A26AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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