#9A48B2

Closest named color: Purply (#983FB2). oklch(55% 0.175 318), rgb(154, 72, 178).

Aa

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

About this color

#9A48B2 is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.175 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.018 away. White text reads best on it, at 5.32:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromavivid (0.175)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.94:1
White text5.32:1

Values

HEX#9A48B2
RGBrgb(154, 72, 178)
HSLhsl(286, 42%, 49%)
OKLCHoklch(55% 0.175 318)

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 #9A48B2 5.32:1 AA Lc -81.3 Fine for body text
Black text on #9A48B2 3.94:1 AA large text Lc 28.1 Dividers and decoration only
#9A48B2 text on white 5.32:1 AA Lc 75.9 Fine for body text
#9A48B2 text on black 3.94:1 AA large text Lc -25.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 600.

  1. Step 50

    50

    #F8F3FA

    oklch(97% 0.011 316.5)

  2. Step 100

    100

    #F0E5F4

    oklch(93.5% 0.023 317.1)

  3. Step 200

    200

    #E6D1EC

    oklch(88.6% 0.043 318.7)

  4. Step 300

    300

    #D6B1E2

    oklch(80.9% 0.079 317.8)

  5. Step 400

    400

    #C186D3

    oklch(70.6% 0.126 318.1)

  6. Step 500

    500

    #B166C8

    oklch(63.2% 0.161 317.9)

  7. Step 600

    600 (this color)

    #9A48B2

    oklch(55% 0.175 318)

  8. Step 700

    700

    #853A9B

    oklch(49% 0.163 317.9)

  9. Step 800

    800

    #6C317E

    oklch(42.7% 0.135 317.6)

  10. Step 900

    900

    #582C65

    oklch(37.7% 0.105 318.1)

  11. Step 950

    950

    #341B3B

    oklch(27.1% 0.066 318.6)

Export this scale for Tailwind in the Tailwind colors tool

#9A48B2 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)#2D66B50.165
Deuteranopia (no green cones)#4C6EAF0.145
Tritanopia (no blue cones)#9A59760.111
Achromatopsia (no color)#6B6B6B0.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A48B2

    #9A48B2

    oklch(55% 0.175 318)

  • #358700

    #358700

    oklch(55.1% 0.17 138.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A48B2

    #9A48B2

    oklch(55% 0.175 318)

  • #705AD0

    #705AD0

    oklch(55.1% 0.175 287.8)

  • #B63A83

    #B63A83

    oklch(55% 0.176 348.1)

Open the analogous palette in the generator

Split complementary

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

  • #9A48B2

    #9A48B2

    oklch(55% 0.175 318)

  • #797600

    #797600

    oklch(55.1% 0.119 108)

  • #008665

    #008665

    oklch(55.1% 0.112 167.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A48B2

    #9A48B2

    oklch(55% 0.175 318)

  • #966700

    #966700

    oklch(54.9% 0.115 77.4)

  • #008285

    #008285

    oklch(55% 0.094 197.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A48B2

    #9A48B2

    oklch(55% 0.175 318)

  • #B44F00

    #B44F00

    oklch(54.9% 0.15 47.9)

  • #358700

    #358700

    oklch(55.1% 0.17 138.1)

  • #007DA2

    #007DA2

    oklch(55% 0.107 227.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #9A48B2 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.