#8A398E

Closest named color: Warm Purple (#952E8F). oklch(48.8% 0.155 325.8), rgb(138, 57, 142).

Aa

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

About this color

#8A398E is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.155 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.027 away. White text reads best on it, at 6.87:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.155)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text3.05:1
White text6.87:1

Values

HEX#8A398E
RGBrgb(138, 57, 142)
HSLhsl(297, 43%, 39%)
OKLCHoklch(48.8% 0.155 325.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 #8A398E 6.87:1 AA Lc -88.2 Fine for body text
Black text on #8A398E 3.05:1 AA large text Lc 20.9 Dividers and decoration only
#8A398E text on white 6.87:1 AA Lc 83.1 Fine for body text
#8A398E text on black 3.05:1 AA large text Lc -18.8 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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F2E5F2

    oklch(93.6% 0.022 325.8)

  3. Step 200

    200

    #E8D0E8

    oklch(88.5% 0.042 325.9)

  4. Step 300

    300

    #DAB0DB

    oklch(80.8% 0.075 325.5)

  5. Step 400

    400

    #C785C9

    oklch(70.6% 0.121 325.8)

  6. Step 500

    500

    #B765BB

    oklch(63.1% 0.153 325.5)

  7. Step 600

    600

    #A249A7

    oklch(55.5% 0.167 325.5)

  8. Step 700

    700 (this color)

    #8A398E

    oklch(48.8% 0.155 325.8)

  9. Step 800

    800

    #713174

    oklch(42.8% 0.127 325.8)

  10. Step 900

    900

    #5C2C5E

    oklch(37.8% 0.1 325.8)

  11. Step 950

    950

    #361A37

    oklch(27% 0.064 325.9)

Export this scale for Tailwind in the Tailwind colors tool

#8A398E 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)#2D54910.155
Deuteranopia (no green cones)#495E8C0.135
Tritanopia (no blue cones)#8D445E0.089
Achromatopsia (no color)#5A5A5A0.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A398E

    #8A398E

    oklch(48.8% 0.155 325.8)

  • #007521

    #007521

    oklch(48.9% 0.151 145.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A398E

    #8A398E

    oklch(48.8% 0.155 325.8)

  • #6947AC

    #6947AC

    oklch(48.7% 0.155 295.6)

  • #9E2F63

    #9E2F63

    oklch(48.8% 0.154 355.7)

Open the analogous palette in the generator

Split complementary

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

  • #8A398E

    #8A398E

    oklch(48.8% 0.155 325.8)

  • #5E6700

    #5E6700

    oklch(48.9% 0.111 115.6)

  • #00705E

    #00705E

    oklch(48.7% 0.091 176.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A398E

    #8A398E

    oklch(48.8% 0.155 325.8)

  • #795B00

    #795B00

    oklch(48.9% 0.1 86.2)

  • #006D77

    #006D77

    oklch(48.8% 0.084 205.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A398E

    #8A398E

    oklch(48.8% 0.155 325.8)

  • #914A00

    #914A00

    oklch(48.8% 0.119 56)

  • #007521

    #007521

    oklch(48.9% 0.151 145.7)

  • #006893

    #006893

    oklch(48.9% 0.105 235.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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