#A826A2#A826A2

#A826A2 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.210 H 330.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A826A2
RGBrgb(168, 38, 162)
HSLhsl(303, 63%, 40%)
HSVhsv(303, 77%, 66%)
CMYKcmyk(0%, 77.4%, 3.6%, 34.1%)
CIE-LABlab(41.72, 64.40, -37.90)
CIE-LCHlch(41.72, 74.73, 329.52°)
OKLaboklab(52.55% 0.1825 -0.1047)
OKLCHoklch(52.55% 0.21 330.2)
XYZxyz(23.3631, 12.3216, 35.3232)
Luminance0.1232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A826A2 #26A82C
analogous
#6D26A8 #A826A2 #A82661
triadic
#A826A2 #A2A826 #26A2A8
tetradic
#A826A2 #A86D26 #26A82C #2661A8
square
#A826A2 #A86D26 #26A82C #2661A8
split-complementary
#A826A2 #61A826 #26A86D
monochromatic
#440F42 #761B72 #A826A2 #D239CB #DE6BD8

Accessibility & contrast

On white

6.06
#A826A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A826A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A826A2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A826A2#FFFFFF#000000##FFFFFF
##A826A21.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1257A5
Deuteranopia (green-blind)
#4F689F
Tritanopia (blue-blind)
#AE3963
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a826a2;
/* rgb */ color: rgb(168, 38, 162);
/* oklch */ color: oklch(52.6% 0.210 330.2);
Tailwind
colors: {
  custom: {
    50: '#c670be',
    500: '#a826a2',
    950: '#000000',
  },
}
SCSS
$custom: #a826a2;
$custom-light: #c670be;
$custom-dark: #000000;
JSON
{
  "hex": "#a826a2",
  "rgb": {
    "r": 168,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 302.769,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52554,
    "c": 0.21045,
    "h": 330.2
  },
  "luminance": 0.1232
}

Semantic roles & 50–950 ramp

primary
#A826A2
secondary
#66C46A
accent
#E64942
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A826A2

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

Preview Lab → · Contrast checker → · Palette generator →

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