#9A318F

Closest named color: Warm Purple (#952E8F). oklch(50.3% 0.176 332.3), rgb(154, 49, 143).

Aa

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

About this color

#9A318F is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.176 and its hue 332°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.012 away. White text reads best on it, at 6.54:1.

Hue familyPurples
Lightnessmedium-dark (50%)
Chromavivid (0.176)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text3.20:1
White text6.54:1

Values

HEX#9A318F
RGBrgb(154, 49, 143)
HSLhsl(306, 52%, 40%)
OKLCHoklch(50.3% 0.176 332.3)

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 #9A318F 6.54:1 AA Lc -86.6 Fine for body text
Black text on #9A318F 3.20:1 AA large text Lc 22.6 Dividers and decoration only
#9A318F text on white 6.54:1 AA Lc 81.5 Fine for body text
#9A318F text on black 3.20:1 AA large text Lc -20.4 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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F4E4F1

    oklch(93.5% 0.024 331.9)

  3. Step 200

    200

    #EDCEE7

    oklch(88.5% 0.048 332.5)

  4. Step 300

    300

    #E2ADD9

    oklch(81% 0.084 332.3)

  5. Step 400

    400

    #D27FC6

    oklch(70.8% 0.136 332.3)

  6. Step 500

    500

    #C45BB7

    oklch(63.2% 0.174 332.4)

  7. Step 600

    600

    #AF3CA3

    oklch(55.6% 0.19 332.2)

  8. Step 700

    700 (this color)

    #9A318F

    oklch(50.3% 0.176 332.3)

  9. Step 800

    800

    #7A2771

    oklch(42.7% 0.146 332.4)

  10. Step 900

    900

    #63265C

    oklch(37.8% 0.114 332.2)

  11. Step 950

    950

    #3A1736

    oklch(27% 0.072 331.9)

Export this scale for Tailwind in the Tailwind colors tool

#9A318F 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)#2C54920.187
Deuteranopia (no green cones)#51638C0.162
Tritanopia (no blue cones)#A13B5C0.092
Achromatopsia (no color)#5D5D5D0.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A318F

    #9A318F

    oklch(50.3% 0.176 332.3)

  • #00783C

    #00783C

    oklch(50.2% 0.131 152.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A318F

    #9A318F

    oklch(50.3% 0.176 332.3)

  • #7942B5

    #7942B5

    oklch(50.3% 0.176 302.5)

  • #AE255C

    #AE255C

    oklch(50.4% 0.176 2.2)

Open the analogous palette in the generator

Split complementary

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

  • #9A318F

    #9A318F

    oklch(50.3% 0.176 332.3)

  • #586E00

    #586E00

    oklch(50.2% 0.122 122.3)

  • #007468

    #007468

    oklch(50.2% 0.09 182.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A318F

    #9A318F

    oklch(50.3% 0.176 332.3)

  • #796100

    #796100

    oklch(50.2% 0.103 91.9)

  • #007181

    #007181

    oklch(50.3% 0.088 211.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A318F

    #9A318F

    oklch(50.3% 0.176 332.3)

  • #915200

    #915200

    oklch(50.2% 0.115 62.3)

  • #00783C

    #00783C

    oklch(50.2% 0.131 152.3)

  • #006AA2

    #006AA2

    oklch(50.3% 0.12 242.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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