#A82397#A82397

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

Color values

HEX#A82397
RGBrgb(168, 35, 151)
HSLhsl(308, 66%, 40%)
HSVhsv(308, 79%, 66%)
CMYKcmyk(0%, 79.2%, 10.1%, 34.1%)
CIE-LABlab(40.84, 63.56, -32.67)
CIE-LCHlch(40.84, 71.47, 332.79°)
OKLaboklab(51.73% 0.1848 -0.0896)
OKLCHoklch(51.73% 0.205 334.1)
XYZxyz(22.3356, 11.7633, 30.3664)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A82397 #23A834
analogous
#7623A8 #A82397 #A82355
triadic
#A82397 #97A823 #2397A8
tetradic
#A82397 #A87623 #23A834 #2355A8
square
#A82397 #A87623 #23A834 #2355A8
split-complementary
#A82397 #55A823 #23A876
monochromatic
#430E3C #751869 #A82397 #D534C0 #DF66D0

Accessibility & contrast

On white

6.26
#A82397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A82397
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A82397#FFFFFF#000000##FFFFFF
##A823971.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F549A
Deuteranopia (green-blind)
#546794
Tritanopia (blue-blind)
#B0315C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a82397;
/* rgb */ color: rgb(168, 35, 151);
/* oklch */ color: oklch(51.7% 0.205 334.1);
Tailwind
colors: {
  custom: {
    50: '#c66eb6',
    500: '#a82397',
    950: '#000000',
  },
}
SCSS
$custom: #a82397;
$custom-light: #c66eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a82397",
  "rgb": {
    "r": 168,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 307.669,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51729,
    "c": 0.20533,
    "h": 334.1
  },
  "luminance": 0.11761
}

Semantic roles & 50–950 ramp

primary
#A82397
secondary
#62C56F
accent
#E8553F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A82397

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

Preview Lab → · Contrast checker → · Palette generator →

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