#A02397#A02397

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

Color values

HEX#A02397
RGBrgb(160, 35, 151)
HSLhsl(304, 64%, 38%)
HSVhsv(304, 78%, 63%)
CMYKcmyk(0%, 78.1%, 5.6%, 37.3%)
CIE-LABlab(39.43, 61.82, -34.99)
CIE-LCHlch(39.43, 71.03, 330.49°)
OKLaboklab(50.46% 0.1767 -0.0964)
OKLCHoklch(50.46% 0.201 331.4)
XYZxyz(20.6842, 10.9117, 30.2889)
Luminance0.1091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02397 #23A02C
analogous
#6A23A0 #A02397 #A02358
triadic
#A02397 #97A023 #2397A0
tetradic
#A02397 #A06A23 #23A02C #2358A0
square
#A02397 #A06A23 #23A02C #2358A0
split-complementary
#A02397 #58A023 #23A06A
monochromatic
#3C0D38 #6E1868 #A02397 #D12FC6 #DC61D4

Accessibility & contrast

On white

6.60
#A02397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A02397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02397
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02397#FFFFFF#000000##FFFFFF
##A023971.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16529A
Deuteranopia (green-blind)
#4C6394
Tritanopia (blue-blind)
#A7345C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a02397;
/* rgb */ color: rgb(160, 35, 151);
/* oklch */ color: oklch(50.5% 0.201 331.4);
Tailwind
colors: {
  custom: {
    50: '#c06db6',
    500: '#a02397',
    950: '#000000',
  },
}
SCSS
$custom: #a02397;
$custom-light: #c06db6;
$custom-dark: #000000;
JSON
{
  "hex": "#a02397",
  "rgb": {
    "r": 160,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 304.32,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50459,
    "c": 0.20128,
    "h": 331.4
  },
  "luminance": 0.1091
}

Semantic roles & 50–950 ramp

primary
#A02397
secondary
#5DC165
accent
#E74D41
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A02397

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

Preview Lab → · Contrast checker → · Palette generator →

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