#A23397

Closest named color: Warm Purple (#952E8F). oklch(52.1% 0.185 332.1), rgb(162, 51, 151).

Aa

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

About this color

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

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

Values

HEX#A23397
RGBrgb(162, 51, 151)
HSLhsl(306, 52%, 42%)
OKLCHoklch(52.1% 0.185 332.1)

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 #A23397 6.07:1 AA Lc -84.6 Fine for body text
Black text on #A23397 3.45:1 AA large text Lc 24.7 Dividers and decoration only
#A23397 text on white 6.07:1 AA Lc 79.4 Fine for body text
#A23397 text on black 3.45:1 AA large text Lc -22.4 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

    #EECEE8

    oklch(88.6% 0.049 332.3)

  4. Step 300

    300

    #E3ACDA

    oklch(80.9% 0.088 332.1)

  5. Step 400

    400

    #D47DC8

    oklch(70.8% 0.143 332.2)

  6. Step 500

    500

    #C657B9

    oklch(63% 0.183 332.2)

  7. Step 600

    600

    #B138A5

    oklch(55.6% 0.198 332.1)

  8. Step 700

    700 (this color)

    #A23397

    oklch(52.1% 0.185 332.1)

  9. Step 800

    800

    #7C2473

    oklch(42.8% 0.153 332.3)

  10. Step 900

    900

    #64245D

    oklch(37.8% 0.119 332.1)

  11. Step 950

    950

    #3B1636

    oklch(27% 0.075 332.9)

Export this scale for Tailwind in the Tailwind colors tool

#A23397 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)#2D589A0.197
Deuteranopia (no green cones)#5568940.169
Tritanopia (no blue cones)#A93E610.096
Achromatopsia (no color)#6262620.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #A23397

    #A23397

    oklch(52.1% 0.185 332.1)

  • #007F3F

    #007F3F

    oklch(52.2% 0.137 152)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A23397

    #A23397

    oklch(52.1% 0.185 332.1)

  • #7F45BF

    #7F45BF

    oklch(52.1% 0.184 302.3)

  • #B72661

    #B72661

    oklch(52.2% 0.184 2)

Open the analogous palette in the generator

Split complementary

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

  • #A23397

    #A23397

    oklch(52.1% 0.185 332.1)

  • #5D7400

    #5D7400

    oklch(52.1% 0.127 122.3)

  • #007A6D

    #007A6D

    oklch(52% 0.093 182.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A23397

    #A23397

    oklch(52.1% 0.185 332.1)

  • #7F6600

    #7F6600

    oklch(52% 0.106 91.9)

  • #007788

    #007788

    oklch(52.2% 0.091 212)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A23397

    #A23397

    oklch(52.1% 0.185 332.1)

  • #995700

    #995700

    oklch(52.2% 0.12 62.4)

  • #007F3F

    #007F3F

    oklch(52.2% 0.137 152)

  • #0070AA

    #0070AA

    oklch(52.2% 0.124 241.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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