#A82298#A82298

#A82298 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.207 H 333.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A82298
RGBrgb(168, 34, 152)
HSLhsl(307, 66%, 40%)
HSVhsv(307, 80%, 66%)
CMYKcmyk(0%, 79.8%, 9.5%, 34.1%)
CIE-LABlab(40.80, 63.98, -33.34)
CIE-LCHlch(40.80, 72.15, 332.47°)
OKLaboklab(51.72% 0.1856 -0.0915)
OKLCHoklch(51.72% 0.207 333.8)
XYZxyz(22.3882, 11.7379, 30.7862)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A82298 #22A832
analogous
#7522A8 #A82298 #A82255
triadic
#A82298 #98A822 #2298A8
tetradic
#A82298 #A87522 #22A832 #2255A8
square
#A82298 #A87522 #22A832 #2255A8
split-complementary
#A82298 #55A822 #22A875
monochromatic
#420D3C #75186A #A82298 #D532C2 #E065D1

Accessibility & contrast

On white

6.27
#A82298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A82298 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A82298
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A82298#FFFFFF#000000##FFFFFF
##A822981.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D549B
Deuteranopia (green-blind)
#536795
Tritanopia (blue-blind)
#B0315D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a82298;
/* rgb */ color: rgb(168, 34, 152);
/* oklch */ color: oklch(51.7% 0.207 333.8);
Tailwind
colors: {
  custom: {
    50: '#c66eb7',
    500: '#a82298',
    950: '#000000',
  },
}
SCSS
$custom: #a82298;
$custom-light: #c66eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a82298",
  "rgb": {
    "r": 168,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 307.164,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51717,
    "c": 0.20692,
    "h": 333.8
  },
  "luminance": 0.11736
}

Semantic roles & 50–950 ramp

primary
#A82298
secondary
#61C56D
accent
#E9533F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A82298

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

Preview Lab → · Contrast checker → · Palette generator →

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