#A826AF#A826AF

#A826AF is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.220 H 325.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#A826AF
RGBrgb(168, 38, 175)
HSLhsl(297, 64%, 42%)
HSVhsv(297, 78%, 69%)
CMYKcmyk(4%, 78.3%, 0%, 31.4%)
CIE-LABlab(42.47, 66.51, -44.46)
CIE-LCHlch(42.47, 80.00, 326.24°)
OKLaboklab(53.33% 0.1821 -0.1238)
OKLCHoklch(53.33% 0.22 325.8)
XYZxyz(24.5789, 12.8079, 41.7267)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A826AF #2DAF26
analogous
#6426AF #A826AF #AF2672
triadic
#A826AF #AFA826 #26AFA8
tetradic
#A826AF #AF6426 #2DAF26 #2672AF
square
#A826AF #AF6426 #2DAF26 #2672AF
split-complementary
#A826AF #72AF26 #26AF64
monochromatic
#47104A #781B7D #A826AF #CD3DD5 #DA70E0

Accessibility & contrast

On white

5.90
#A826AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A826AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A826AF
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A826AF#FFFFFF#000000##FFFFFF
##A826AF1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#476AAC
Tritanopia (blue-blind)
#AC406A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a826af;
/* rgb */ color: rgb(168, 38, 175);
/* oklch */ color: oklch(53.3% 0.220 325.8);
Tailwind
colors: {
  custom: {
    50: '#c670c7',
    500: '#a826af',
    950: '#000000',
  },
}
SCSS
$custom: #a826af;
$custom-light: #c670c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a826af",
  "rgb": {
    "r": 168,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 296.934,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53329,
    "c": 0.22022,
    "h": 325.8
  },
  "luminance": 0.12806
}

Semantic roles & 50–950 ramp

primary
#A826AF
secondary
#6FC76A
accent
#E74049
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A826AF

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

Preview Lab → · Contrast checker → · Palette generator →

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