#A82398#A82398

#A82398 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.206 H 333.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A82398
RGBrgb(168, 35, 152)
HSLhsl(307, 66%, 40%)
HSVhsv(307, 79%, 66%)
CMYKcmyk(0%, 79.2%, 9.5%, 34.1%)
CIE-LABlab(40.89, 63.71, -33.20)
CIE-LCHlch(40.89, 71.84, 332.48°)
OKLaboklab(51.78% 0.1848 -0.0911)
OKLCHoklch(51.78% 0.206 333.8)
XYZxyz(22.4172, 11.7959, 30.7959)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A82398 #23A833
analogous
#7623A8 #A82398 #A82356
triadic
#A82398 #98A823 #2398A8
tetradic
#A82398 #A87623 #23A833 #2356A8
square
#A82398 #A87623 #23A833 #2356A8
split-complementary
#A82398 #56A823 #23A876
monochromatic
#430E3C #75186A #A82398 #D534C1 #DF66D1

Accessibility & contrast

On white

6.25
#A82398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A82398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A82398
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A82398#FFFFFF#000000##FFFFFF
##A823981.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a82398;
/* rgb */ color: rgb(168, 35, 152);
/* oklch */ color: oklch(51.8% 0.206 333.8);
Tailwind
colors: {
  custom: {
    50: '#c66eb7',
    500: '#a82398',
    950: '#000000',
  },
}
SCSS
$custom: #a82398;
$custom-light: #c66eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a82398",
  "rgb": {
    "r": 168,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 307.218,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51784,
    "c": 0.20602,
    "h": 333.8
  },
  "luminance": 0.11794
}

Semantic roles & 50–950 ramp

primary
#A82398
secondary
#62C56E
accent
#E8543F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A82398

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

Preview Lab → · Contrast checker → · Palette generator →

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