#98238A

Closest named color: Warm Purple (#952E8F). oklch(48.5% 0.188 333.6), rgb(152, 35, 138).

Aa

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

About this color

#98238A is a medium-dark, vivid purple. In OKLCH its lightness is 48%, its chroma 0.188 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.017 away. White text reads best on it, at 7.13:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromavivid (0.188)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text2.94:1
White text7.13:1

Values

HEX#98238A
RGBrgb(152, 35, 138)
HSLhsl(307, 63%, 37%)
OKLCHoklch(48.5% 0.188 333.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 #98238A 7.13:1 AAA Lc -88.5 Fine for body text
Black text on #98238A 2.94:1 Fails Lc 20.5 Dividers and decoration only
#98238A text on white 7.13:1 AAA Lc 83.5 Fine for body text
#98238A text on black 2.94:1 Fails Lc -18.4 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

    #FBF3F9

    oklch(97.2% 0.012 334.1)

  2. Step 100

    100

    #F5E4F1

    oklch(93.6% 0.025 333.7)

  3. Step 200

    200

    #EFCDE7

    oklch(88.5% 0.051 334.2)

  4. Step 300

    300

    #E5ABD9

    oklch(80.9% 0.09 333.9)

  5. Step 400

    400

    #D67CC6

    oklch(70.8% 0.145 333.8)

  6. Step 500

    500

    #C856B8

    oklch(63.1% 0.185 333.3)

  7. Step 600

    600

    #B435A3

    oklch(55.7% 0.202 333.9)

  8. Step 700

    700 (this color)

    #98238A

    oklch(48.5% 0.188 333.6)

  9. Step 800

    800

    #7D2272

    oklch(42.7% 0.155 333.3)

  10. Step 900

    900

    #65225C

    oklch(37.6% 0.122 333.4)

  11. Step 950

    950

    #3C1536

    oklch(27% 0.078 333.8)

Export this scale for Tailwind in the Tailwind colors tool

#98238A 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)#1F4D8D0.205
Deuteranopia (no green cones)#4C5E870.174
Tritanopia (no blue cones)#9F2F550.096
Achromatopsia (no color)#5858580.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #98238A

    #98238A

    oklch(48.5% 0.188 333.6)

  • #00723C

    #00723C

    oklch(48.4% 0.123 153.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #98238A

    #98238A

    oklch(48.5% 0.188 333.6)

  • #7737B3

    #7737B3

    oklch(48.5% 0.188 303.7)

  • #AC0F53

    #AC0F53

    oklch(48.5% 0.188 3.8)

Open the analogous palette in the generator

Split complementary

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

  • #98238A

    #98238A

    oklch(48.5% 0.188 333.6)

  • #526900

    #526900

    oklch(48.4% 0.119 123.3)

  • #006E64

    #006E64

    oklch(48.4% 0.086 184)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #98238A

    #98238A

    oklch(48.5% 0.188 333.6)

  • #725D00

    #725D00

    oklch(48.5% 0.099 93.5)

  • #006B7C

    #006B7C

    oklch(48.5% 0.085 213.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #98238A

    #98238A

    oklch(48.5% 0.188 333.6)

  • #894F00

    #894F00

    oklch(48.5% 0.11 63.9)

  • #00723C

    #00723C

    oklch(48.4% 0.123 153.6)

  • #00649C

    #00649C

    oklch(48.4% 0.118 243.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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