#A5227D

Closest named color: Red Violet (#9E0168). oklch(49.9% 0.188 343.7), rgb(165, 34, 125).

Aa

White text reads best on this color (6.72:1).

About this color

#A5227D is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.188 and its hue 344°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.042 away. White text reads best on it, at 6.72:1.

Hue familyPurples
Lightnessmedium-dark (50%)
Chromavivid (0.188)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text3.12:1
White text6.72:1

Values

HEX#A5227D
RGBrgb(165, 34, 125)
HSLhsl(318, 66%, 39%)
OKLCHoklch(49.9% 0.188 343.7)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #A5227D 6.72:1 AA Lc -86.9 Fine for body text
Black text on #A5227D 3.12:1 AA large text Lc 22.3 Dividers and decoration only
#A5227D text on white 6.72:1 AA Lc 81.8 Fine for body text
#A5227D text on black 3.12:1 AA large text Lc -20.1 Dividers and decoration only

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 700.

  1. Step 50

    50

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F7E3EE

    oklch(93.5% 0.026 343.3)

  3. Step 200

    200

    #F2CDE2

    oklch(88.6% 0.05 343.1)

  4. Step 300

    300

    #EBA9CF

    oklch(80.8% 0.091 343.9)

  5. Step 400

    400

    #DE79B7

    oklch(70.7% 0.145 343.8)

  6. Step 500

    500

    #D251A5

    oklch(63.1% 0.186 343.8)

  7. Step 600

    600

    #BD2F90

    oklch(55.6% 0.201 343.8)

  8. Step 700

    700 (this color)

    #A5227D

    oklch(49.9% 0.188 343.7)

  9. Step 800

    800

    #841D64

    oklch(42.7% 0.156 343.6)

  10. Step 900

    900

    #6A2051

    oklch(37.6% 0.12 343.8)

  11. Step 950

    950

    #3F1430

    oklch(27.1% 0.077 343.6)

Export this scale for Tailwind in the Tailwind colors tool

#A5227D with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#324E7F0.210
Deuteranopia (no green cones)#5B637A0.181
Tritanopia (no blue cones)#B0224D0.082
Achromatopsia (no color)#5C5C5C0.189

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #A5227D

    #A5227D

    oklch(49.9% 0.188 343.7)

  • #007552

    #007552

    oklch(49.8% 0.106 164)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A5227D

    #A5227D

    oklch(49.9% 0.188 343.7)

  • #8835AC

    #8835AC

    oklch(49.9% 0.188 313.7)

  • #B41642

    #B41642

    oklch(49.8% 0.188 13.5)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #A5227D

    #A5227D

    oklch(49.9% 0.188 343.7)

  • #3E7300

    #3E7300

    oklch(49.9% 0.143 133.8)

  • #007271

    #007271

    oklch(49.9% 0.085 193.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A5227D

    #A5227D

    oklch(49.9% 0.188 343.7)

  • #6E6500

    #6E6500

    oklch(49.9% 0.105 103.4)

  • #006E8A

    #006E8A

    oklch(50% 0.093 223.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A5227D

    #A5227D

    oklch(49.9% 0.188 343.7)

  • #865800

    #865800

    oklch(49.9% 0.106 74)

  • #007552

    #007552

    oklch(49.8% 0.106 164)

  • #0062B9

    #0062B9

    oklch(49.9% 0.157 253.7)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #A5227D, closest first.

No curated palette has a color within ΔE 0.04 of #A5227D.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #A5227D in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.