#9D7FB2

Closest named color: Heather (#A484AC). oklch(64.3% 0.082 310.9), rgb(157, 127, 178).

Aa

Black text reads best on this color (6.11:1).

About this color

#9D7FB2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 64%, its chroma 0.082 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Heather (#A484AC), ΔE 0.022 away. Black text reads best on it, at 6.11:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromamoderately saturated (0.082)
Temperaturein between
Nearest nameHeather (#A484AC)
Black text6.11:1
White text3.43:1

Values

HEX#9D7FB2
RGBrgb(157, 127, 178)
HSLhsl(275, 25%, 60%)
OKLCHoklch(64.3% 0.082 310.9)

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 #9D7FB2 3.43:1 AA large text Lc -67.3 Content text, not long reading
Black text on #9D7FB2 6.11:1 AA Lc 42.2 Non-text elements, placeholder text
#9D7FB2 text on white 3.43:1 AA large text Lc 61.8 Content text, not long reading
#9D7FB2 text on black 6.11:1 AA Lc -39.9 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F6F4F8

    oklch(97% 0.006 308.4)

  2. Step 100

    100

    #ECE8F0

    oklch(93.6% 0.011 308.3)

  3. Step 200

    200

    #DED5E4

    oklch(88.5% 0.022 312.2)

  4. Step 300

    300

    #C9BAD4

    oklch(80.9% 0.04 311.1)

  5. Step 400

    400

    #AD96BE

    oklch(70.7% 0.063 310.7)

  6. Step 500

    500 (this color)

    #9D7FB2

    oklch(64.3% 0.082 310.9)

  7. Step 600

    600

    #84649A

    oklch(55.6% 0.089 310.8)

  8. Step 700

    700

    #705383

    oklch(49.2% 0.082 311.3)

  9. Step 800

    800

    #5B446B

    oklch(42.7% 0.069 310.7)

  10. Step 900

    900

    #4B3957

    oklch(37.7% 0.055 311.3)

  11. Step 950

    950

    #2C2233

    oklch(27.1% 0.034 310.9)

Export this scale for Tailwind in the Tailwind colors tool

#9D7FB2 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)#7789B40.059
Deuteranopia (no green cones)#7D8BB00.055
Tritanopia (no blue cones)#9B86910.059
Achromatopsia (no color)#8A8A8A0.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D7FB2

    #9D7FB2

    oklch(64.3% 0.082 310.9)

  • #7C9862

    #7C9862

    oklch(64.4% 0.083 130.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D7FB2

    #9D7FB2

    oklch(64.3% 0.082 310.9)

  • #8487BE

    #8487BE

    oklch(64.2% 0.082 281.4)

  • #AF799C

    #AF799C

    oklch(64.2% 0.082 340.6)

Open the analogous palette in the generator

Split complementary

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

  • #9D7FB2

    #9D7FB2

    oklch(64.3% 0.082 310.9)

  • #988F52

    #988F52

    oklch(64.4% 0.082 101)

  • #5E9D7D

    #5E9D7D

    oklch(64.4% 0.082 160.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D7FB2

    #9D7FB2

    oklch(64.3% 0.082 310.9)

  • #AD8554

    #AD8554

    oklch(64.4% 0.082 71.2)

  • #499D99

    #499D99

    oklch(64.3% 0.082 191.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D7FB2

    #9D7FB2

    oklch(64.3% 0.082 310.9)

  • #B87C66

    #B87C66

    oklch(64.2% 0.082 40.9)

  • #7C9862

    #7C9862

    oklch(64.4% 0.083 130.7)

  • #4E99B0

    #4E99B0

    oklch(64.4% 0.082 220.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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