#A82297#A82297

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

Color values

HEX#A82297
RGBrgb(168, 34, 151)
HSLhsl(308, 66%, 40%)
HSVhsv(308, 80%, 66%)
CMYKcmyk(0%, 79.8%, 10.1%, 34.1%)
CIE-LABlab(40.74, 63.83, -32.82)
CIE-LCHlch(40.74, 71.77, 332.79°)
OKLaboklab(51.66% 0.1856 -0.09)
OKLCHoklch(51.66% 0.206 334.1)
XYZxyz(22.3066, 11.7053, 30.3567)
Luminance0.1170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A82297 #22A833
analogous
#7622A8 #A82297 #A82254
triadic
#A82297 #97A822 #2297A8
tetradic
#A82297 #A87622 #22A833 #2254A8
square
#A82297 #A87622 #22A833 #2254A8
split-complementary
#A82297 #54A822 #22A876
monochromatic
#420D3C #751869 #A82297 #D532C1 #E065D0

Accessibility & contrast

On white

6.29
#A82297 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A82297 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A82297
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A82297#FFFFFF#000000##FFFFFF
##A822971.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E549A
Deuteranopia (green-blind)
#536794
Tritanopia (blue-blind)
#B0305C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a82297;
/* rgb */ color: rgb(168, 34, 151);
/* oklch */ color: oklch(51.7% 0.206 334.1);
Tailwind
colors: {
  custom: {
    50: '#c66eb6',
    500: '#a82297',
    950: '#000000',
  },
}
SCSS
$custom: #a82297;
$custom-light: #c66eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a82297",
  "rgb": {
    "r": 168,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 307.612,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51662,
    "c": 0.20623,
    "h": 334.1
  },
  "luminance": 0.11703
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A82297

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

Preview Lab → · Contrast checker → · Palette generator →

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