#A2298F#A2298F

#A2298F is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.8% C 0.190 H 335.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A2298F
RGBrgb(162, 41, 143)
HSLhsl(309, 60%, 40%)
HSVhsv(309, 75%, 64%)
CMYKcmyk(0%, 74.7%, 11.7%, 36.5%)
CIE-LABlab(40.00, 59.20, -29.20)
CIE-LCHlch(40.00, 66.01, 333.75°)
OKLaboklab(50.8% 0.1729 -0.0798)
OKLCHoklch(50.8% 0.19 335.2)
XYZxyz(20.6514, 11.2523, 27.0655)
Luminance0.1125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2298F #29A23C
analogous
#7829A2 #A2298F #A22953
triadic
#A2298F #8FA229 #298FA2
tetradic
#A2298F #A27829 #29A23C #2953A2
square
#A2298F #A27829 #29A23C #2953A2
split-complementary
#A2298F #53A229 #29A278
monochromatic
#401039 #711D64 #A2298F #CD3BB6 #DA6CC8

Accessibility & contrast

On white

6.46
#A2298F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A2298F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2298F
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2298F#FFFFFF#000000##FFFFFF
##A2298F1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295392
Deuteranopia (green-blind)
#54658C
Tritanopia (blue-blind)
#AA3359
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a2298f;
/* rgb */ color: rgb(162, 41, 143);
/* oklch */ color: oklch(50.8% 0.190 335.2);
Tailwind
colors: {
  custom: {
    50: '#c16fb0',
    500: '#a2298f',
    950: '#000000',
  },
}
SCSS
$custom: #a2298f;
$custom-light: #c16fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a2298f",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 309.421,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50798,
    "c": 0.19043,
    "h": 335.2
  },
  "luminance": 0.1125
}

Semantic roles & 50–950 ramp

primary
#A2298F
secondary
#67C075
accent
#E35E45
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A2298F

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

Preview Lab → · Contrast checker → · Palette generator →

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