#98338F

Closest named color: Warm Purple (#952E8F). oklch(50.2% 0.172 331.6), rgb(152, 51, 143).

Aa

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

About this color

#98338F is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.172 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.011 away. White text reads best on it, at 6.55:1.

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

Values

HEX#98338F
RGBrgb(152, 51, 143)
HSLhsl(305, 50%, 40%)
OKLCHoklch(50.2% 0.172 331.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 #98338F 6.55:1 AA Lc -86.7 Fine for body text
Black text on #98338F 3.20:1 AA large text Lc 22.5 Dividers and decoration only
#98338F text on white 6.55:1 AA Lc 81.6 Fine for body text
#98338F text on black 3.20:1 AA large text Lc -20.3 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

    #ECCFE7

    oklch(88.6% 0.045 331.7)

  4. Step 300

    300

    #E1ADD9

    oklch(80.9% 0.084 331.7)

  5. Step 400

    400

    #D080C6

    oklch(70.7% 0.133 331.5)

  6. Step 500

    500

    #C25CB7

    oklch(63% 0.171 331.6)

  7. Step 600

    600

    #AD3FA3

    oklch(55.6% 0.185 331.5)

  8. Step 700

    700 (this color)

    #98338F

    oklch(50.2% 0.172 331.6)

  9. Step 800

    800

    #792971

    oklch(42.8% 0.142 331.9)

  10. Step 900

    900

    #62275C

    oklch(37.8% 0.111 331.6)

  11. Step 950

    950

    #391836

    oklch(27% 0.069 330.8)

Export this scale for Tailwind in the Tailwind colors tool

#98338F 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)#2D54920.182
Deuteranopia (no green cones)#50628C0.157
Tritanopia (no blue cones)#9E3D5C0.092
Achromatopsia (no color)#5D5D5D0.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #98338F

    #98338F

    oklch(50.2% 0.172 331.6)

  • #00783A

    #00783A

    oklch(50.1% 0.133 151.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #98338F

    #98338F

    oklch(50.2% 0.172 331.6)

  • #7743B4

    #7743B4

    oklch(50.2% 0.173 301.6)

  • #AC275D

    #AC275D

    oklch(50.2% 0.173 1.5)

Open the analogous palette in the generator

Split complementary

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

  • #98338F

    #98338F

    oklch(50.2% 0.172 331.6)

  • #596E00

    #596E00

    oklch(50.3% 0.122 121.8)

  • #007467

    #007467

    oklch(50.1% 0.09 181.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #98338F

    #98338F

    oklch(50.2% 0.172 331.6)

  • #796100

    #796100

    oklch(50.2% 0.103 91.9)

  • #007180

    #007180

    oklch(50.3% 0.087 210.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #98338F

    #98338F

    oklch(50.2% 0.172 331.6)

  • #925200

    #925200

    oklch(50.3% 0.116 61.8)

  • #00783A

    #00783A

    oklch(50.1% 0.133 151.6)

  • #006AA1

    #006AA1

    oklch(50.2% 0.119 241.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #98338F 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.