#A826A7#A826A7

#A826A7 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.214 H 328.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#A826A7
RGBrgb(168, 38, 167)
HSLhsl(300, 63%, 40%)
HSVhsv(300, 77%, 66%)
CMYKcmyk(0%, 77.4%, 0.6%, 34.1%)
CIE-LABlab(42.00, 65.20, -40.45)
CIE-LCHlch(42.00, 76.73, 328.19°)
OKLaboklab(52.85% 0.1825 -0.1121)
OKLCHoklch(52.85% 0.214 328.4)
XYZxyz(23.8164, 12.5029, 37.7106)
Luminance0.1250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A826A7 #26A827
analogous
#6826A8 #A826A7 #A82666
triadic
#A826A7 #A7A826 #26A7A8
tetradic
#A826A7 #A86826 #26A827 #2666A8
square
#A826A7 #A86826 #26A827 #2666A8
split-complementary
#A826A7 #66A826 #26A868
monochromatic
#440F44 #761B75 #A826A7 #D239D1 #DE6BDD

Accessibility & contrast

On white

6.00
#A826A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A826A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A826A7
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A826A7#FFFFFF#000000##FFFFFF
##A826A71.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0358AA
Deuteranopia (green-blind)
#4C69A4
Tritanopia (blue-blind)
#AE3B66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a826a7;
/* rgb */ color: rgb(168, 38, 167);
/* oklch */ color: oklch(52.8% 0.214 328.4);
Tailwind
colors: {
  custom: {
    50: '#c670c2',
    500: '#a826a7',
    950: '#000000',
  },
}
SCSS
$custom: #a826a7;
$custom-light: #c670c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a826a7",
  "rgb": {
    "r": 168,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 300.462,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52846,
    "c": 0.21417,
    "h": 328.4
  },
  "luminance": 0.12501
}

Semantic roles & 50–950 ramp

primary
#A826A7
secondary
#66C467
accent
#E64342
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A826A7

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

Preview Lab → · Contrast checker → · Palette generator →

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