#98338A

Closest named color: Warm Purple (#952E8F). oklch(49.9% 0.168 333.8), rgb(152, 51, 138).

Aa

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

About this color

#98338A is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.168 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.015 away. White text reads best on it, at 6.61:1.

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

Values

HEX#98338A
RGBrgb(152, 51, 138)
HSLhsl(308, 50%, 40%)
OKLCHoklch(49.9% 0.168 333.8)

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 #98338A 6.61:1 AA Lc -87.0 Fine for body text
Black text on #98338A 3.17:1 AA large text Lc 22.2 Dividers and decoration only
#98338A text on white 6.61:1 AA Lc 81.9 Fine for body text
#98338A text on black 3.17:1 AA large text Lc -20.0 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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F4E4F0

    oklch(93.5% 0.023 334.3)

  3. Step 200

    200

    #EDCFE6

    oklch(88.6% 0.045 334)

  4. Step 300

    300

    #E2ADD7

    oklch(80.9% 0.083 333.7)

  5. Step 400

    400

    #D180C2

    oklch(70.7% 0.13 333.9)

  6. Step 500

    500

    #C35DB3

    oklch(63.1% 0.167 333.7)

  7. Step 600

    600

    #AE3F9E

    oklch(55.5% 0.181 333.9)

  8. Step 700

    700 (this color)

    #98338A

    oklch(49.9% 0.168 333.8)

  9. Step 800

    800

    #79296E

    oklch(42.6% 0.14 333.6)

  10. Step 900

    900

    #622759

    oklch(37.7% 0.109 333.8)

  11. Step 950

    950

    #3A1834

    oklch(27.1% 0.068 334.4)

Export this scale for Tailwind in the Tailwind colors tool

#98338A 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)#31538D0.179
Deuteranopia (no green cones)#5362870.155
Tritanopia (no blue cones)#9F3B5A0.086
Achromatopsia (no color)#5D5D5D0.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #98338A

    #98338A

    oklch(49.9% 0.168 333.8)

  • #00773F

    #00773F

    oklch(49.9% 0.127 153.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #98338A

    #98338A

    oklch(49.9% 0.168 333.8)

  • #7842AF

    #7842AF

    oklch(49.8% 0.169 303.7)

  • #AA2958

    #AA2958

    oklch(49.9% 0.168 3.9)

Open the analogous palette in the generator

Split complementary

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

  • #98338A

    #98338A

    oklch(49.9% 0.168 333.8)

  • #556E00

    #556E00

    oklch(50% 0.124 123.8)

  • #007368

    #007368

    oklch(49.9% 0.089 183.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #98338A

    #98338A

    oklch(49.9% 0.168 333.8)

  • #776100

    #776100

    oklch(50% 0.102 93.4)

  • #006F81

    #006F81

    oklch(49.8% 0.088 214)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #98338A

    #98338A

    oklch(49.9% 0.168 333.8)

  • #8F5200

    #8F5200

    oklch(49.9% 0.114 63.3)

  • #00773F

    #00773F

    oklch(49.9% 0.127 153.6)

  • #0068A3

    #0068A3

    oklch(49.8% 0.123 244)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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