#A7239B

Closest named color: Warm Purple (#952E8F). oklch(51.8% 0.208 332.3), rgb(167, 35, 155).

Aa

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

About this color

#A7239B is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.208 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.040 away. White text reads best on it, at 6.25:1.

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

Values

HEX#A7239B
RGBrgb(167, 35, 155)
HSLhsl(305, 65%, 40%)
OKLCHoklch(51.8% 0.208 332.3)

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 #A7239B 6.25:1 AA Lc -85.0 Fine for body text
Black text on #A7239B 3.35:1 AA large text Lc 24.3 Dividers and decoration only
#A7239B text on white 6.25:1 AA Lc 79.8 Fine for body text
#A7239B text on black 3.35:1 AA large text Lc -22.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

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F6E3F3

    oklch(93.6% 0.029 330.9)

  3. Step 200

    200

    #F0CCEA

    oklch(88.5% 0.056 331.7)

  4. Step 300

    300

    #E8A9DD

    oklch(81% 0.1 332.7)

  5. Step 400

    400

    #D977CC

    oklch(70.6% 0.16 332.2)

  6. Step 500

    500

    #CD4EBF

    oklch(63.2% 0.205 332.3)

  7. Step 600

    600

    #B827AB

    oklch(55.6% 0.224 332.3)

  8. Step 700

    700 (this color)

    #A7239B

    oklch(51.8% 0.208 332.3)

  9. Step 800

    800

    #801877

    oklch(42.6% 0.172 332.1)

  10. Step 900

    900

    #681D60

    oklch(37.8% 0.134 332.5)

  11. Step 950

    950

    #3D1338

    oklch(27% 0.084 332.6)

Export this scale for Tailwind in the Tailwind colors tool

#A7239B 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)#18559E0.229
Deuteranopia (no green cones)#5167980.191
Tritanopia (no blue cones)#AE345E0.109
Achromatopsia (no color)#6060600.210

Harmonies

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

Complementary

The opposite hue (180°).

  • #A7239B

    #A7239B

    oklch(51.8% 0.208 332.3)

  • #007D3F

    #007D3F

    oklch(51.7% 0.135 152.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A7239B

    #A7239B

    oklch(51.8% 0.208 332.3)

  • #813BC8

    #813BC8

    oklch(51.8% 0.207 302.3)

  • #BE035E

    #BE035E

    oklch(51.8% 0.208 2.5)

Open the analogous palette in the generator

Split complementary

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

  • #A7239B

    #A7239B

    oklch(51.8% 0.208 332.3)

  • #5C7300

    #5C7300

    oklch(51.8% 0.126 122.4)

  • #00796D

    #00796D

    oklch(51.7% 0.092 182.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A7239B

    #A7239B

    oklch(51.8% 0.208 332.3)

  • #7E6600

    #7E6600

    oklch(51.9% 0.106 92.6)

  • #007687

    #007687

    oklch(51.9% 0.091 212.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A7239B

    #A7239B

    oklch(51.8% 0.208 332.3)

  • #975600

    #975600

    oklch(51.8% 0.119 62.6)

  • #007D3F

    #007D3F

    oklch(51.7% 0.135 152.4)

  • #006FA9

    #006FA9

    oklch(51.9% 0.124 242.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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