#A1228F

Closest named color: Warm Purple (#952E8F). oklch(50.1% 0.197 334.8), rgb(161, 34, 143).

Aa

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

About this color

#A1228F is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.197 and its hue 335°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.026 away. White text reads best on it, at 6.68:1.

Hue familyPurples
Lightnessmedium-dark (50%)
Chromavivid (0.197)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text3.14:1
White text6.68:1

Values

HEX#A1228F
RGBrgb(161, 34, 143)
HSLhsl(309, 65%, 38%)
OKLCHoklch(50.1% 0.197 334.8)

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 #A1228F 6.68:1 AA Lc -86.7 Fine for body text
Black text on #A1228F 3.14:1 AA large text Lc 22.4 Dividers and decoration only
#A1228F text on white 6.68:1 AA Lc 81.6 Fine for body text
#A1228F text on black 3.14:1 AA large text Lc -20.2 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

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F6E3F1

    oklch(93.5% 0.028 334.9)

  3. Step 200

    200

    #F0CDE7

    oklch(88.6% 0.052 335.1)

  4. Step 300

    300

    #E7AAD9

    oklch(80.9% 0.094 334.8)

  5. Step 400

    400

    #D979C6

    oklch(70.7% 0.152 334.9)

  6. Step 500

    500

    #CC51B8

    oklch(63.1% 0.195 334.5)

  7. Step 600

    600

    #B82EA3

    oklch(55.7% 0.211 335.1)

  8. Step 700

    700 (this color)

    #A1228F

    oklch(50.1% 0.197 334.8)

  9. Step 800

    800

    #801D72

    oklch(42.7% 0.163 334.6)

  10. Step 900

    900

    #671F5C

    oklch(37.6% 0.128 334.5)

  11. Step 950

    950

    #3D1436

    oklch(27.1% 0.081 334.7)

Export this scale for Tailwind in the Tailwind colors tool

#A1228F 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)#2150920.217
Deuteranopia (no green cones)#51638C0.184
Tritanopia (no blue cones)#A92E570.100
Achromatopsia (no color)#5C5C5C0.199

Harmonies

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

Complementary

The opposite hue (180°).

  • #A1228F

    #A1228F

    oklch(50.1% 0.197 334.8)

  • #007742

    #007742

    oklch(50% 0.124 154.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A1228F

    #A1228F

    oklch(50.1% 0.197 334.8)

  • #7E38BB

    #7E38BB

    oklch(50.1% 0.197 304.6)

  • #B50A55

    #B50A55

    oklch(50% 0.197 4.6)

Open the analogous palette in the generator

Split complementary

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

  • #A1228F

    #A1228F

    oklch(50.1% 0.197 334.8)

  • #546F00

    #546F00

    oklch(50.2% 0.126 124.6)

  • #00746A

    #00746A

    oklch(50.2% 0.089 184.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A1228F

    #A1228F

    oklch(50.1% 0.197 334.8)

  • #766200

    #766200

    oklch(50.1% 0.103 95)

  • #007083

    #007083

    oklch(50.2% 0.089 214.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A1228F

    #A1228F

    oklch(50.1% 0.197 334.8)

  • #8E5300

    #8E5300

    oklch(50% 0.112 64.7)

  • #007742

    #007742

    oklch(50% 0.124 154.8)

  • #0068A5

    #0068A5

    oklch(50% 0.125 244.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #A1228F 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.