#A2258F#A2258F

#A2258F is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.195 H 335.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#A2258F
RGBrgb(162, 37, 143)
HSLhsl(309, 63%, 39%)
HSVhsv(309, 77%, 64%)
CMYKcmyk(0%, 77.2%, 11.7%, 36.5%)
CIE-LABlab(39.56, 60.46, -29.89)
CIE-LCHlch(39.56, 67.44, 333.69°)
OKLaboklab(50.48% 0.1766 -0.0817)
OKLCHoklch(50.48% 0.195 335.2)
XYZxyz(20.5201, 10.9895, 27.0218)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2258F #25A238
analogous
#7725A2 #A2258F #A22551
triadic
#A2258F #8FA225 #258FA2
tetradic
#A2258F #A27725 #25A238 #2551A2
square
#A2258F #A27725 #25A238 #2551A2
split-complementary
#A2258F #51A225 #25A277
monochromatic
#3E0E37 #701A63 #A2258F #D134B9 #DC65CA

Accessibility & contrast

On white

6.57
#A2258F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A2258F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2258F
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2258F#FFFFFF#000000##FFFFFF
##A2258F1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255192
Deuteranopia (green-blind)
#53648C
Tritanopia (blue-blind)
#AA3058
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a2258f;
/* rgb */ color: rgb(162, 37, 143);
/* oklch */ color: oklch(50.5% 0.195 335.2);
Tailwind
colors: {
  custom: {
    50: '#c16eb0',
    500: '#a2258f',
    950: '#000000',
  },
}
SCSS
$custom: #a2258f;
$custom-light: #c16eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a2258f",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 309.12,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50482,
    "c": 0.19462,
    "h": 335.2
  },
  "luminance": 0.10988
}

Semantic roles & 50–950 ramp

primary
#A2258F
secondary
#61C270
accent
#E65B42
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A2258F

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

Preview Lab → · Contrast checker → · Palette generator →

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