#A26CB5#A26CB5

#A26CB5 is a mid, vivid purple. Relative luminance 0.217; OKLCH L 61.5% C 0.122 H 316.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#A26CB5
RGBrgb(162, 108, 181)
HSLhsl(284, 33%, 57%)
HSVhsv(284, 40%, 71%)
CMYKcmyk(10.5%, 40.3%, 0%, 29%)
CIE-LABlab(53.75, 34.40, -30.24)
CIE-LCHlch(53.75, 45.80, 318.68°)
OKLaboklab(61.52% 0.0891 -0.0833)
OKLCHoklch(61.52% 0.122 316.9)
XYZxyz(28.6021, 21.7435, 46.3973)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26CB5 #7FB56C
analogous
#7E6CB5 #A26CB5 #B56CA4
triadic
#A26CB5 #B5A26C #6CB5A2
tetradic
#A26CB5 #B57E6C #7FB56C #6CA4B5
square
#A26CB5 #B57E6C #7FB56C #6CA4B5
split-complementary
#A26CB5 #A4B56C #6CB57E
monochromatic
#60386F #844C98 #A26CB5 #BC95C9 #D6BDDE

Accessibility & contrast

On white

3.93
#A26CB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#A26CB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26CB5
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26CB5#FFFFFF#000000##000000
##A26CB51.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#607DB8
Deuteranopia (green-blind)
#6E82B3
Tritanopia (blue-blind)
#A27588
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a26cb5;
/* rgb */ color: rgb(162, 108, 181);
/* oklch */ color: oklch(61.5% 0.122 316.9);
Tailwind
colors: {
  custom: {
    50: '#bf97cb',
    500: '#a26cb5',
    950: '#000000',
  },
}
SCSS
$custom: #a26cb5;
$custom-light: #bf97cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a26cb5",
  "rgb": {
    "r": 162,
    "g": 108,
    "b": 181
  },
  "hsl": {
    "h": 284.384,
    "s": 33.032,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61524,
    "c": 0.12198,
    "h": 316.9
  },
  "luminance": 0.21743
}

Semantic roles & 50–950 ramp

primary
#A26CB5
secondary
#B7CDAF
accent
#C95F7A
background
#FBF9FC
surface
#F7F2F8
border
#D0CCD1
text
#120D13
muted
#817E82

Preview Lab

Preview with #A26CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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