#904798

Closest named color: Light Eggplant (#894585). oklch(52.1% 0.145 323.6), rgb(144, 71, 152).

Aa

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

About this color

#904798 is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.145 and its hue 324°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.033 away. White text reads best on it, at 5.93:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.145)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text3.54:1
White text5.93:1

Values

HEX#904798
RGBrgb(144, 71, 152)
HSLhsl(294, 36%, 44%)
OKLCHoklch(52.1% 0.145 323.6)

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 #904798 5.93:1 AA Lc -84.5 Fine for body text
Black text on #904798 3.54:1 AA large text Lc 24.8 Dividers and decoration only
#904798 text on white 5.93:1 AA Lc 79.2 Fine for body text
#904798 text on black 3.54:1 AA large text Lc -22.6 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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F1E6F2

    oklch(93.7% 0.02 323.2)

  3. Step 200

    200

    #E6D1E8

    oklch(88.5% 0.038 323.2)

  4. Step 300

    300

    #D8B2DB

    oklch(81% 0.07 323.9)

  5. Step 400

    400

    #C388C9

    oklch(70.7% 0.113 323.5)

  6. Step 500

    500

    #B368BB

    oklch(63.1% 0.145 323.5)

  7. Step 600

    600

    #9E4EA7

    oklch(55.7% 0.156 323.5)

  8. Step 700

    700 (this color)

    #904798

    oklch(52.1% 0.145 323.6)

  9. Step 800

    800

    #6E3474

    oklch(42.8% 0.121 323.8)

  10. Step 900

    900

    #592E5E

    oklch(37.7% 0.094 323.3)

  11. Step 950

    950

    #341B37

    oklch(26.9% 0.06 323.1)

Export this scale for Tailwind in the Tailwind colors tool

#904798 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)#3C5E9B0.139
Deuteranopia (no green cones)#5267960.123
Tritanopia (no blue cones)#9251690.086
Achromatopsia (no color)#6464640.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #904798

    #904798

    oklch(52.1% 0.145 323.6)

  • #277D29

    #277D29

    oklch(52% 0.145 143.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #904798

    #904798

    oklch(52.1% 0.145 323.6)

  • #6F54B3

    #6F54B3

    oklch(52% 0.145 293.9)

  • #A53E6F

    #A53E6F

    oklch(52% 0.145 353.8)

Open the analogous palette in the generator

Split complementary

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

  • #904798

    #904798

    oklch(52.1% 0.145 323.6)

  • #697000

    #697000

    oklch(52.1% 0.117 114)

  • #007B64

    #007B64

    oklch(52% 0.099 173.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #904798

    #904798

    oklch(52.1% 0.145 323.6)

  • #866200

    #866200

    oklch(51.9% 0.107 83.4)

  • #007880

    #007880

    oklch(52.2% 0.089 203)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #904798

    #904798

    oklch(52.1% 0.145 323.6)

  • #A14F00

    #A14F00

    oklch(52% 0.131 53.4)

  • #277D29

    #277D29

    oklch(52% 0.145 143.5)

  • #00729D

    #00729D

    oklch(52% 0.108 233.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #904798 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.