#904F7B

Closest named color: Dull Purple (#84597E). oklch(51.9% 0.104 340.5), rgb(144, 79, 123).

Aa

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

About this color

#904F7B is a medium-dark, moderately saturated pink. In OKLCH its lightness is 52%, its chroma 0.104 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Dull Purple (#84597E), ΔE 0.031 away. White text reads best on it, at 5.84:1.

Hue familyPinks
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.104)
Temperaturewarm
Nearest nameDull Purple (#84597E)
Black text3.59:1
White text5.84:1

Values

HEX#904F7B
RGBrgb(144, 79, 123)
HSLhsl(319, 29%, 44%)
OKLCHoklch(51.9% 0.104 340.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 #904F7B 5.84:1 AA Lc -84.2 Fine for body text
Black text on #904F7B 3.59:1 AA large text Lc 25.1 Dividers and decoration only
#904F7B text on white 5.84:1 AA Lc 79.0 Fine for body text
#904F7B text on black 3.59: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

    #F9F4F7

    oklch(97.2% 0.007 340.4)

  2. Step 100

    100

    #F1E6ED

    oklch(93.6% 0.015 338.9)

  3. Step 200

    200

    #E7D2DF

    oklch(88.5% 0.029 340.1)

  4. Step 300

    300

    #D8B4CB

    oklch(80.8% 0.051 339.8)

  5. Step 400

    400

    #C38DB0

    oklch(70.7% 0.08 340.3)

  6. Step 500

    500

    #B3709D

    oklch(63.1% 0.103 340.1)

  7. Step 600

    600

    #9E5787

    oklch(55.5% 0.112 340.5)

  8. Step 700

    700 (this color)

    #904F7B

    oklch(51.9% 0.104 340.5)

  9. Step 800

    800

    #6E3B5D

    oklch(42.8% 0.085 341)

  10. Step 900

    900

    #59334C

    oklch(37.7% 0.066 341)

  11. Step 950

    950

    #341E2D

    oklch(27% 0.042 339.5)

Export this scale for Tailwind in the Tailwind colors tool

#904F7B 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)#525E7D0.107
Deuteranopia (no green cones)#6369790.099
Tritanopia (no blue cones)#97505F0.047
Achromatopsia (no color)#6565650.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #904F7B

    #904F7B

    oklch(51.9% 0.104 340.5)

  • #207B54

    #207B54

    oklch(52% 0.105 160.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #904F7B

    #904F7B

    oklch(51.9% 0.104 340.5)

  • #7C5695

    #7C5695

    oklch(51.9% 0.105 310.9)

  • #9B4D5A

    #9B4D5A

    oklch(52% 0.104 10.9)

Open the analogous palette in the generator

Split complementary

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

  • #904F7B

    #904F7B

    oklch(51.9% 0.104 340.5)

  • #54752F

    #54752F

    oklch(52.1% 0.105 130.4)

  • #007975

    #007975

    oklch(52% 0.09 190.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #904F7B

    #904F7B

    oklch(51.9% 0.104 340.5)

  • #776A0C

    #776A0C

    oklch(52.1% 0.105 100.5)

  • #00758F

    #00758F

    oklch(52% 0.095 220.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #904F7B

    #904F7B

    oklch(51.9% 0.104 340.5)

  • #8E5D14

    #8E5D14

    oklch(52% 0.104 70.9)

  • #207B54

    #207B54

    oklch(52% 0.105 160.3)

  • #356CA2

    #356CA2

    oklch(52% 0.104 250.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #904F7B 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.