#A26FAC#A26FAC

#A26FAC is a mid, moderate purple. Relative luminance 0.220; OKLCH L 61.6% C 0.106 H 320.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#A26FAC
RGBrgb(162, 111, 172)
HSLhsl(290, 27%, 55%)
HSVhsv(290, 35%, 67%)
CMYKcmyk(5.8%, 35.5%, 0%, 32.5%)
CIE-LABlab(54.06, 30.84, -24.56)
CIE-LCHlch(54.06, 39.42, 321.46°)
OKLaboklab(61.63% 0.0825 -0.0671)
OKLCHoklch(61.63% 0.106 320.9)
XYZxyz(28.0302, 22.0297, 41.7973)
Luminance0.2203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26FAC #79AC6F
analogous
#836FAC #A26FAC #AC6F97
triadic
#A26FAC #ACA26F #6FACA2
tetradic
#A26FAC #AC836F #79AC6F #6F97AC
square
#A26FAC #AC836F #79AC6F #6F97AC
split-complementary
#A26FAC #97AC6F #6FAC83
monochromatic
#5F3B66 #83518D #A26FAC #BB96C2 #D4BDD9

Accessibility & contrast

On white

3.88
#A26FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#A26FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26FAC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26FAC#FFFFFF#000000##000000
##A26FAC1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#687EAE
Deuteranopia (green-blind)
#7483AA
Tritanopia (blue-blind)
#A37686
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a26fac;
/* rgb */ color: rgb(162, 111, 172);
/* oklch */ color: oklch(61.6% 0.106 320.9);
Tailwind
colors: {
  custom: {
    50: '#be99c5',
    500: '#a26fac',
    950: '#000000',
  },
}
SCSS
$custom: #a26fac;
$custom-light: #be99c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a26fac",
  "rgb": {
    "r": 162,
    "g": 111,
    "b": 172
  },
  "hsl": {
    "h": 290.164,
    "s": 26.872,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61629,
    "c": 0.10633,
    "h": 320.9
  },
  "luminance": 0.22029
}

Semantic roles & 50–950 ramp

primary
#A26FAC
secondary
#B3C8AF
accent
#C36574
background
#FBF9FC
surface
#F7F2F8
border
#D0CCD1
text
#120E12
muted
#817E81

Preview Lab

Preview with #A26FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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