#A02398#A02398

#A02398 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.5% C 0.202 H 331.0°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A02398
RGBrgb(160, 35, 152)
HSLhsl(304, 64%, 38%)
HSVhsv(304, 78%, 63%)
CMYKcmyk(0%, 78.1%, 5%, 37.3%)
CIE-LABlab(39.49, 61.98, -35.51)
CIE-LCHlch(39.49, 71.43, 330.19°)
OKLaboklab(50.52% 0.1767 -0.0979)
OKLCHoklch(50.52% 0.202 331)
XYZxyz(20.7657, 10.9443, 30.7185)
Luminance0.1094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02398 #23A02B
analogous
#6923A0 #A02398 #A02359
triadic
#A02398 #98A023 #2398A0
tetradic
#A02398 #A06923 #23A02B #2359A0
square
#A02398 #A06923 #23A02B #2359A0
split-complementary
#A02398 #59A023 #23A069
monochromatic
#3C0D39 #6E1868 #A02398 #D12FC7 #DC61D5

Accessibility & contrast

On white

6.59
#A02398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A02398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02398
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02398#FFFFFF#000000##FFFFFF
##A023981.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14529B
Deuteranopia (green-blind)
#4C6395
Tritanopia (blue-blind)
#A7345D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a02398;
/* rgb */ color: rgb(160, 35, 152);
/* oklch */ color: oklch(50.5% 0.202 331.0);
Tailwind
colors: {
  custom: {
    50: '#c06db7',
    500: '#a02398',
    950: '#000000',
  },
}
SCSS
$custom: #a02398;
$custom-light: #c06db7;
$custom-dark: #000000;
JSON
{
  "hex": "#a02398",
  "rgb": {
    "r": 160,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 303.84,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50516,
    "c": 0.20201,
    "h": 331
  },
  "luminance": 0.10943
}

Semantic roles & 50–950 ramp

primary
#A02398
secondary
#5DC164
accent
#E74B41
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A02398

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

Preview Lab → · Contrast checker → · Palette generator →

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