#A26CB3#A26CB3

#A26CB3 is a mid, moderate purple. Relative luminance 0.217; OKLCH L 61.4% C 0.120 H 317.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#A26CB3
RGBrgb(162, 108, 179)
HSLhsl(286, 32%, 56%)
HSVhsv(286, 40%, 70%)
CMYKcmyk(9.5%, 39.7%, 0%, 29.8%)
CIE-LABlab(53.67, 33.98, -29.22)
CIE-LCHlch(53.67, 44.81, 319.31°)
OKLaboklab(61.43% 0.0887 -0.0804)
OKLCHoklch(61.43% 0.12 317.8)
XYZxyz(28.3984, 21.6620, 45.3243)
Luminance0.2166 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26CB3 #7DB36C
analogous
#7F6CB3 #A26CB3 #B36CA1
triadic
#A26CB3 #B3A26C #6CB3A2
tetradic
#A26CB3 #B37F6C #7DB36C #6CA1B3
square
#A26CB3 #B37F6C #7DB36C #6CA1B3
split-complementary
#A26CB3 #A1B36C #6CB37F
monochromatic
#60386D #844D95 #A26CB3 #BC94C8 #D5BDDD

Accessibility & contrast

On white

3.94
#A26CB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#A26CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26CB3
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26CB3#FFFFFF#000000##000000
##A26CB31.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#617DB6
Deuteranopia (green-blind)
#6F82B1
Tritanopia (blue-blind)
#A27587
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a26cb3;
/* rgb */ color: rgb(162, 108, 179);
/* oklch */ color: oklch(61.4% 0.120 317.8);
Tailwind
colors: {
  custom: {
    50: '#bf97ca',
    500: '#a26cb3',
    950: '#000000',
  },
}
SCSS
$custom: #a26cb3;
$custom-light: #bf97ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a26cb3",
  "rgb": {
    "r": 162,
    "g": 108,
    "b": 179
  },
  "hsl": {
    "h": 285.634,
    "s": 31.839,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61429,
    "c": 0.11969,
    "h": 317.8
  },
  "luminance": 0.21661
}

Semantic roles & 50–950 ramp

primary
#A26CB3
secondary
#B6CCAF
accent
#C86079
background
#FBF9FC
surface
#F7F2F8
border
#D0CCD1
text
#120D13
muted
#817E82

Preview Lab

Preview with #A26CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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