#A826B1#A826B1

#A826B1 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.5% C 0.222 H 325.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A826B1
RGBrgb(168, 38, 177)
HSLhsl(296, 65%, 42%)
HSVhsv(296, 79%, 69%)
CMYKcmyk(5.1%, 78.5%, 0%, 30.6%)
CIE-LABlab(42.59, 66.85, -45.45)
CIE-LCHlch(42.59, 80.84, 325.79°)
OKLaboklab(53.45% 0.182 -0.1267)
OKLCHoklch(53.45% 0.222 325.2)
XYZxyz(24.7768, 12.8870, 42.7689)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A826B1 #2FB126
analogous
#6326B1 #A826B1 #B12675
triadic
#A826B1 #B1A826 #26B1A8
tetradic
#A826B1 #B16326 #2FB126 #2675B1
square
#A826B1 #B16326 #2FB126 #2675B1
split-complementary
#A826B1 #75B126 #26B163
monochromatic
#48104C #781B7F #A826B1 #CC3FD6 #D971E0

Accessibility & contrast

On white

5.87
#A826B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#A826B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A826B1
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A826B1#FFFFFF#000000##FFFFFF
##A826B11.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#456AAE
Tritanopia (blue-blind)
#AC416C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a826b1;
/* rgb */ color: rgb(168, 38, 177);
/* oklch */ color: oklch(53.5% 0.222 325.2);
Tailwind
colors: {
  custom: {
    50: '#c671c9',
    500: '#a826b1',
    950: '#000000',
  },
}
SCSS
$custom: #a826b1;
$custom-light: #c671c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a826b1",
  "rgb": {
    "r": 168,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 296.115,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53453,
    "c": 0.22175,
    "h": 325.2
  },
  "luminance": 0.12885
}

Semantic roles & 50–950 ramp

primary
#A826B1
secondary
#71C76B
accent
#E8404B
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A826B1

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

Preview Lab → · Contrast checker → · Palette generator →

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