#A12E97

Closest named color: Warm Purple (#952E8F). oklch(51.5% 0.19 331.7), rgb(161, 46, 151).

Aa

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

About this color

#A12E97 is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.190 and its hue 332°. 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.26:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.190)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text3.35:1
White text6.26:1

Values

HEX#A12E97
RGBrgb(161, 46, 151)
HSLhsl(305, 56%, 41%)
OKLCHoklch(51.5% 0.19 331.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 #A12E97 6.26:1 AA Lc -85.3 Fine for body text
Black text on #A12E97 3.35:1 AA large text Lc 23.9 Dividers and decoration only
#A12E97 text on white 6.26:1 AA Lc 80.1 Fine for body text
#A12E97 text on black 3.35:1 AA large text Lc -21.7 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

    #FBF3F9

    oklch(97.2% 0.012 334.1)

  2. Step 100

    100

    #F5E4F2

    oklch(93.6% 0.026 331.5)

  3. Step 200

    200

    #EECDE9

    oklch(88.4% 0.052 331)

  4. Step 300

    300

    #E4ABDB

    oklch(80.9% 0.091 331.9)

  5. Step 400

    400

    #D57CC9

    oklch(70.8% 0.146 332.1)

  6. Step 500

    500

    #C755BB

    oklch(63% 0.188 331.8)

  7. Step 600

    600

    #B234A7

    oklch(55.5% 0.205 331.7)

  8. Step 700

    700 (this color)

    #A12E97

    oklch(51.5% 0.19 331.7)

  9. Step 800

    800

    #7C2274

    oklch(42.7% 0.156 331.8)

  10. Step 900

    900

    #65225E

    oklch(37.7% 0.123 332.1)

  11. Step 950

    950

    #3B1537

    oklch(26.9% 0.078 331.7)

Export this scale for Tailwind in the Tailwind colors tool

#A12E97 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)#26569A0.204
Deuteranopia (no green cones)#5266940.174
Tritanopia (no blue cones)#A83B5F0.101
Achromatopsia (no color)#6060600.192

Harmonies

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

Complementary

The opposite hue (180°).

  • #A12E97

    #A12E97

    oklch(51.5% 0.19 331.7)

  • #007D3D

    #007D3D

    oklch(51.6% 0.137 151.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A12E97

    #A12E97

    oklch(51.5% 0.19 331.7)

  • #7D41C0

    #7D41C0

    oklch(51.5% 0.19 301.7)

  • #B71E5F

    #B71E5F

    oklch(51.6% 0.19 2.1)

Open the analogous palette in the generator

Split complementary

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

  • #A12E97

    #A12E97

    oklch(51.5% 0.19 331.7)

  • #5C7200

    #5C7200

    oklch(51.6% 0.125 122)

  • #00786B

    #00786B

    oklch(51.4% 0.092 181.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A12E97

    #A12E97

    oklch(51.5% 0.19 331.7)

  • #7D6500

    #7D6500

    oklch(51.5% 0.105 92.5)

  • #007585

    #007585

    oklch(51.6% 0.09 211.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A12E97

    #A12E97

    oklch(51.5% 0.19 331.7)

  • #975500

    #975500

    oklch(51.6% 0.119 61.8)

  • #007D3D

    #007D3D

    oklch(51.6% 0.137 151.7)

  • #006EA6

    #006EA6

    oklch(51.5% 0.121 241.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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