#A3298F#A3298F

#A3298F is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.191 H 335.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A3298F
RGBrgb(163, 41, 143)
HSLhsl(310, 60%, 40%)
HSVhsv(310, 75%, 64%)
CMYKcmyk(0%, 74.8%, 12.3%, 36.1%)
CIE-LABlab(40.18, 59.44, -28.91)
CIE-LCHlch(40.18, 66.10, 334.06°)
OKLaboklab(50.96% 0.1739 -0.0789)
OKLCHoklch(50.96% 0.191 335.6)
XYZxyz(20.8554, 11.3575, 27.0751)
Luminance0.1136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3298F #29A33D
analogous
#7A29A3 #A3298F #A32952
triadic
#A3298F #8FA329 #298FA3
tetradic
#A3298F #A37A29 #29A33D #2952A3
square
#A3298F #A37A29 #29A33D #2952A3
split-complementary
#A3298F #52A329 #29A37A
monochromatic
#411039 #721D64 #A3298F #CE3BB6 #DA6CC8

Accessibility & contrast

On white

6.42
#A3298F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A3298F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3298F
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3298F#FFFFFF#000000##FFFFFF
##A3298F1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5392
Deuteranopia (green-blind)
#55658C
Tritanopia (blue-blind)
#AB3259
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a3298f;
/* rgb */ color: rgb(163, 41, 143);
/* oklch */ color: oklch(51.0% 0.191 335.6);
Tailwind
colors: {
  custom: {
    50: '#c270b0',
    500: '#a3298f',
    950: '#000000',
  },
}
SCSS
$custom: #a3298f;
$custom-light: #c270b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a3298f",
  "rgb": {
    "r": 163,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 309.836,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.50956,
    "c": 0.191,
    "h": 335.6
  },
  "luminance": 0.11356
}

Semantic roles & 50–950 ramp

primary
#A3298F
secondary
#67C176
accent
#E35F45
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A3298F

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

Preview Lab → · Contrast checker → · Palette generator →

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