#A26CB2#A26CB2

#A26CB2 is a mid, moderate purple. Relative luminance 0.216; OKLCH L 61.4% C 0.119 H 318.3°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#A26CB2
RGBrgb(162, 108, 178)
HSLhsl(286, 31%, 56%)
HSVhsv(286, 39%, 70%)
CMYKcmyk(9%, 39.3%, 0%, 30.2%)
CIE-LABlab(53.62, 33.77, -28.71)
CIE-LCHlch(53.62, 44.32, 319.63°)
OKLaboklab(61.38% 0.0885 -0.0789)
OKLCHoklch(61.38% 0.119 318.3)
XYZxyz(28.2976, 21.6217, 44.7936)
Luminance0.2162 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26CB2 #7CB26C
analogous
#7F6CB2 #A26CB2 #B26C9F
triadic
#A26CB2 #B2A26C #6CB2A2
tetradic
#A26CB2 #B27F6C #7CB26C #6C9FB2
square
#A26CB2 #B27F6C #7CB26C #6C9FB2
split-complementary
#A26CB2 #9FB26C #6CB27F
monochromatic
#60386B #834D94 #A26CB2 #BB94C7 #D5BCDC

Accessibility & contrast

On white

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

On black

5.32
#A26CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26CB2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26CB2#FFFFFF#000000##000000
##A26CB21.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#627DB5
Deuteranopia (green-blind)
#6F82B0
Tritanopia (blue-blind)
#A27587
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a26cb2;
/* rgb */ color: rgb(162, 108, 178);
/* oklch */ color: oklch(61.4% 0.119 318.3);
Tailwind
colors: {
  custom: {
    50: '#be97c9',
    500: '#a26cb2',
    950: '#000000',
  },
}
SCSS
$custom: #a26cb2;
$custom-light: #be97c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a26cb2",
  "rgb": {
    "r": 162,
    "g": 108,
    "b": 178
  },
  "hsl": {
    "h": 286.286,
    "s": 31.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61383,
    "c": 0.11855,
    "h": 318.3
  },
  "luminance": 0.21621
}

Semantic roles & 50–950 ramp

primary
#A26CB2
secondary
#B5CBAE
accent
#C76078
background
#FBF9FC
surface
#F7F2F8
border
#D0CCD1
text
#120D13
muted
#817E82

Preview Lab

Preview with #A26CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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