#904A7B

Closest named color: Light Eggplant (#894585). oklch(51.1% 0.113 339.7), rgb(144, 74, 123).

Aa

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

About this color

#904A7B is a medium-dark, moderately saturated pink. In OKLCH its lightness is 51%, its chroma 0.113 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.028 away. White text reads best on it, at 6.08:1.

Hue familyPinks
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.113)
Temperaturewarm
Nearest nameLight Eggplant (#894585)
Black text3.45:1
White text6.08:1

Values

HEX#904A7B
RGBrgb(144, 74, 123)
HSLhsl(318, 32%, 43%)
OKLCHoklch(51.1% 0.113 339.7)

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 #904A7B 6.08:1 AA Lc -85.2 Fine for body text
Black text on #904A7B 3.45:1 AA large text Lc 24.0 Dividers and decoration only
#904A7B text on white 6.08:1 AA Lc 80.1 Fine for body text
#904A7B text on black 3.45:1 AA large text Lc -21.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

    #F2E6ED

    oklch(93.6% 0.016 341.4)

  3. Step 200

    200

    #E8D2E0

    oklch(88.6% 0.031 339.3)

  4. Step 300

    300

    #DAB3CC

    oklch(80.9% 0.056 339.8)

  5. Step 400

    400

    #C68BB2

    oklch(70.7% 0.088 339.9)

  6. Step 500

    500

    #B66D9F

    oklch(63% 0.113 339.7)

  7. Step 600

    600

    #A1548A

    oklch(55.6% 0.122 339.6)

  8. Step 700

    700 (this color)

    #904A7B

    oklch(51.1% 0.113 339.7)

  9. Step 800

    800

    #70385F

    oklch(42.6% 0.095 339.9)

  10. Step 900

    900

    #5B314E

    oklch(37.7% 0.074 339.7)

  11. Step 950

    950

    #351D2E

    oklch(27% 0.046 338.5)

Export this scale for Tailwind in the Tailwind colors tool

#904A7B 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)#4D5B7D0.117
Deuteranopia (no green cones)#6066790.106
Tritanopia (no blue cones)#974B5D0.051
Achromatopsia (no color)#6262620.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #904A7B

    #904A7B

    oklch(51.1% 0.113 339.7)

  • #0A7A4F

    #0A7A4F

    oklch(51.2% 0.114 159.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #904A7B

    #904A7B

    oklch(51.1% 0.113 339.7)

  • #7A5297

    #7A5297

    oklch(51.1% 0.114 309.6)

  • #9C4758

    #9C4758

    oklch(51.2% 0.114 9.5)

Open the analogous palette in the generator

Split complementary

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

  • #904A7B

    #904A7B

    oklch(51.1% 0.113 339.7)

  • #517324

    #517324

    oklch(51.2% 0.114 129.6)

  • #007671

    #007671

    oklch(51% 0.088 189.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #904A7B

    #904A7B

    oklch(51.1% 0.113 339.7)

  • #756700

    #756700

    oklch(51.1% 0.106 100)

  • #00728B

    #00728B

    oklch(51.1% 0.093 220.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #904A7B

    #904A7B

    oklch(51.1% 0.113 339.7)

  • #8E5900

    #8E5900

    oklch(51.1% 0.111 70)

  • #0A7A4F

    #0A7A4F

    oklch(51.2% 0.114 159.6)

  • #2B6AA4

    #2B6AA4

    oklch(51.2% 0.112 249.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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