#8A3162

Closest named color: Mulberry (#920A4E). oklch(45.7% 0.133 349.5), rgb(138, 49, 98).

Aa

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

About this color

#8A3162 is a medium-dark, moderately saturated red. In OKLCH its lightness is 46%, its chroma 0.133 and its hue 350°. Its hue sits on the warm side of the wheel. The nearest named color is Mulberry (#920A4E), ΔE 0.051 away. White text reads best on it, at 7.78:1.

Hue familyReds
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.133)
Temperaturewarm
Nearest nameMulberry (#920A4E)
Black text2.69:1
White text7.78:1

Values

HEX#8A3162
RGBrgb(138, 49, 98)
HSLhsl(327, 48%, 37%)
OKLCHoklch(45.7% 0.133 349.5)

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 #8A3162 7.78:1 AAA Lc -91.1 Preferred for body text
Black text on #8A3162 2.69:1 Fails Lc 17.7 Dividers and decoration only
#8A3162 text on white 7.78:1 AAA Lc 86.3 Fine for body text
#8A3162 text on black 2.69: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

    #FBF3F6

    oklch(97.1% 0.009 352.4)

  2. Step 100

    100

    #F6E4EC

    oklch(93.6% 0.022 348.8)

  3. Step 200

    200

    #F0CEDD

    oklch(88.4% 0.043 349.6)

  4. Step 300

    300

    #E8ADC8

    oklch(81% 0.077 349.8)

  5. Step 400

    400

    #DA7FAC

    oklch(70.8% 0.124 349.7)

  6. Step 500

    500

    #CD5B98

    oklch(63.1% 0.159 349.3)

  7. Step 600

    600

    #B83D82

    oklch(55.6% 0.173 349.6)

  8. Step 700

    700

    #9E2E6E

    oklch(49.1% 0.161 349.5)

  9. Step 800

    800 (this color)

    #8A3162

    oklch(45.7% 0.133 349.5)

  10. Step 900

    900

    #68264A

    oklch(37.8% 0.104 349.4)

  11. Step 950

    950

    #3D172B

    oklch(27% 0.066 349.6)

Export this scale for Tailwind in the Tailwind colors tool

#8A3162 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)#3D48630.145
Deuteranopia (no green cones)#5558600.131
Tritanopia (no blue cones)#942D450.050
Achromatopsia (no color)#5252520.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A3162

    #8A3162

    oklch(45.7% 0.133 349.5)

  • #00674F

    #00674F

    oklch(45.7% 0.091 169.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A3162

    #8A3162

    oklch(45.7% 0.133 349.5)

  • #763A85

    #763A85

    oklch(45.7% 0.133 319.3)

  • #933038

    #933038

    oklch(45.8% 0.133 19.5)

Open the analogous palette in the generator

Split complementary

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

  • #8A3162

    #8A3162

    oklch(45.7% 0.133 349.5)

  • #276813

    #276813

    oklch(45.8% 0.133 139.7)

  • #006468

    #006468

    oklch(45.7% 0.078 199.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A3162

    #8A3162

    oklch(45.7% 0.133 349.5)

  • #5B5B00

    #5B5B00

    oklch(45.6% 0.099 109.8)

  • #00607F

    #00607F

    oklch(45.7% 0.09 228.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A3162

    #8A3162

    oklch(45.7% 0.133 349.5)

  • #735000

    #735000

    oklch(45.7% 0.095 79.5)

  • #00674F

    #00674F

    oklch(45.7% 0.091 169.7)

  • #2554A0

    #2554A0

    oklch(45.6% 0.134 259.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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