#8A287A

Closest named color: Warm Purple (#952E8F). oklch(45.8% 0.162 335.2), rgb(138, 40, 122).

Aa

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

About this color

#8A287A is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.162 and its hue 335°. Its hue sits on the warm side of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.040 away. White text reads best on it, at 7.87:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromavivid (0.162)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text2.66:1
White text7.87:1

Values

HEX#8A287A
RGBrgb(138, 40, 122)
HSLhsl(310, 55%, 35%)
OKLCHoklch(45.8% 0.162 335.2)

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 #8A287A 7.87:1 AAA Lc -91.2 Preferred for body text
Black text on #8A287A 2.66:1 Fails Lc 17.6 Dividers and decoration only
#8A287A text on white 7.87:1 AAA Lc 86.4 Fine for body text
#8A287A text on black 2.66:1 Fails Lc -15.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 800.

  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

    #D979C5

    oklch(70.6% 0.151 335.3)

  6. Step 500

    500

    #CC51B6

    oklch(63% 0.193 335.2)

  7. Step 600

    600

    #B72EA2

    oklch(55.5% 0.21 335.1)

  8. Step 700

    700

    #9E1F8B

    oklch(49.2% 0.195 335.3)

  9. Step 800

    800 (this color)

    #8A287A

    oklch(45.8% 0.162 335.2)

  10. Step 900

    900

    #67205B

    oklch(37.7% 0.125 335.1)

  11. Step 950

    950

    #3D1435

    oklch(27% 0.08 335.8)

Export this scale for Tailwind in the Tailwind colors tool

#8A287A 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)#28487C0.174
Deuteranopia (no green cones)#4957780.151
Tritanopia (no blue cones)#912F4D0.082
Achromatopsia (no color)#5151510.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A287A

    #8A287A

    oklch(45.8% 0.162 335.2)

  • #00693A

    #00693A

    oklch(45.7% 0.113 155)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A287A

    #8A287A

    oklch(45.8% 0.162 335.2)

  • #6D379E

    #6D379E

    oklch(45.8% 0.162 304.9)

  • #9B1E4B

    #9B1E4B

    oklch(45.9% 0.162 5.3)

Open the analogous palette in the generator

Split complementary

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

  • #8A287A

    #8A287A

    oklch(45.8% 0.162 335.2)

  • #496200

    #496200

    oklch(45.9% 0.115 125.1)

  • #00665D

    #00665D

    oklch(45.9% 0.081 184.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A287A

    #8A287A

    oklch(45.8% 0.162 335.2)

  • #685600

    #685600

    oklch(45.8% 0.094 94.9)

  • #006274

    #006274

    oklch(45.7% 0.081 216)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A287A

    #8A287A

    oklch(45.8% 0.162 335.2)

  • #7E4900

    #7E4900

    oklch(45.8% 0.103 64.6)

  • #00693A

    #00693A

    oklch(45.7% 0.113 155)

  • #005C93

    #005C93

    oklch(45.9% 0.115 245)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8A287A 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.