#8A48A7

Closest named color: Purply (#983FB2). oklch(52.3% 0.156 314.4), rgb(138, 72, 167).

Aa

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

About this color

#8A48A7 is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.156 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.035 away. White text reads best on it, at 5.88:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.156)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.56:1
White text5.88:1

Values

HEX#8A48A7
RGBrgb(138, 72, 167)
HSLhsl(282, 40%, 47%)
OKLCHoklch(52.3% 0.156 314.4)

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 #8A48A7 5.88:1 AA Lc -84.3 Fine for body text
Black text on #8A48A7 3.56:1 AA large text Lc 25.0 Dividers and decoration only
#8A48A7 text on white 5.88:1 AA Lc 79.0 Fine for body text
#8A48A7 text on black 3.56:1 AA large text Lc -22.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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F4

    oklch(93.6% 0.021 313.8)

  3. Step 200

    200

    #E4D1ED

    oklch(88.5% 0.043 315)

  4. Step 300

    300

    #D3B2E3

    oklch(80.8% 0.076 314.6)

  5. Step 400

    400

    #BC89D5

    oklch(70.7% 0.121 314.1)

  6. Step 500

    500

    #AB69C9

    oklch(63% 0.154 314.4)

  7. Step 600

    600

    #964EB6

    oklch(55.5% 0.168 314.2)

  8. Step 700

    700 (this color)

    #8A48A7

    oklch(52.3% 0.156 314.4)

  9. Step 800

    800

    #68347F

    oklch(42.6% 0.129 314.3)

  10. Step 900

    900

    #552E66

    oklch(37.6% 0.101 314.7)

  11. Step 950

    950

    #321C3C

    oklch(27.1% 0.064 314.5)

Export this scale for Tailwind in the Tailwind colors tool

#8A48A7 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)#2E61AA0.140
Deuteranopia (no green cones)#4666A50.123
Tritanopia (no blue cones)#8858700.105
Achromatopsia (no color)#6464640.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A48A7

    #8A48A7

    oklch(52.3% 0.156 314.4)

  • #417B00

    #417B00

    oklch(52.2% 0.151 134.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A48A7

    #8A48A7

    oklch(52.3% 0.156 314.4)

  • #6258BF

    #6258BF

    oklch(52.4% 0.156 284)

  • #A43C7F

    #A43C7F

    oklch(52.3% 0.156 344.3)

Open the analogous palette in the generator

Split complementary

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

  • #8A48A7

    #8A48A7

    oklch(52.3% 0.156 314.4)

  • #746C00

    #746C00

    oklch(52.2% 0.11 104.5)

  • #007D59

    #007D59

    oklch(52.2% 0.11 164.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A48A7

    #8A48A7

    oklch(52.3% 0.156 314.4)

  • #8F5E00

    #8F5E00

    oklch(52.2% 0.111 73.8)

  • #007979

    #007979

    oklch(52.2% 0.089 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A48A7

    #8A48A7

    oklch(52.3% 0.156 314.4)

  • #AD4500

    #AD4500

    oklch(52.3% 0.151 44.6)

  • #417B00

    #417B00

    oklch(52.2% 0.151 134.3)

  • #007594

    #007594

    oklch(52.3% 0.099 224.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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